Skip to content

Cleaning: Comment formatting changes each time the code clean up is applied #889

Open
@Xiphereal

Description

@Xiphereal

Environment

  • Visual Studio version: 2019 16.11.7
  • CodeMaid version: 12
  • Code language: C#

Description

When applying code clean up on saving with "Wrap comments at column" at 100 and "Skip wrapping on the last word" enabled, if line has a content similar to this:

        /// <summary> xxxxxxxx xx xx xxxx xxxxxxx xx xxxxxxxxxxxx xx xx xxxx xx xxxxxx xx. </summary>

(Note the 8 spaces of indentation).

then the formatting changes from one line to multiple lines an viceversa each time the code clean up is applied.

Current behavior

The formatting changes from one line to multiple lines an viceversa each time the code clean up is applied.

Expected behavior

A formatting (either one line or multiple lines) is applied once and doesn't change on each code clean up.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions