Skip to content

Formatter no longer adds a trailing new line when usings are sorted #9

Open

Description

@ChaseGrant

When formatting usings a new line is no longer added after the groups.

Activity

  1. self-assigned this
    on Nov 21, 2017
  2. glenn-slayden commented on Jan 16, 2018

    @glenn-slayden

    Ideally, this should be a true/false option (e.g., perhaps "New line after all usings"), just like the setting to include a blank line between the groups.

  3. glenn-slayden commented on Jan 16, 2018

    @glenn-slayden

    To clarify the issue, consider the following example:

    using System;
    using System.Text;
    
    namespace ConsoleApp13 { }
    

    Regardless of any grouping, this currently gets formatted as follows:

    using System;
    using System.Text;
    namespace ConsoleApp13 { }
    

    There should be a way to preserve the blank line that was present in the original.

  4. UmarFKhawaja commented on Jun 13, 2018

    @UmarFKhawaja

    Is anybody looking at this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions