Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

Adjust comments during field rename #35

Open
@jaredpar

Description

@jaredpar

Consider the following field definition:

class C
{
  private int _field1  // Comment
  private int field2;   // Comment
}

After formatting we end up with:

class C
{
  private int _field1  // Comment
  private int _field2;   // Comment
}

Before the tool ran the comments were aligned and after they are not. I think the tool should account for this by detecting this pattern and adjusting the white space after the definition and before the comment to keep the spacing the same.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions