Skip to content

RemoveAndSort Functionality Clarification #23

@broderickt2

Description

@broderickt2

I want to confirm I am not using this wrong. Is the RemoveAndSort supposed to run when saving a file as well and doing the bulk format? The impression I am getting is that when I save a file, this program would do all of the necessary formatting I enabled (cleaning up or adding whitespace, removing extra imports, etc). I am saving a .cs file by the way.

When I save a file that has extra whitespace and click save, it cleans up the whitespace. But is it also supposed to remove unused/extra imports at the top with the save? Upon saving a file or doing the bulk format, it seems the using/import statements at the top are not cleaned up in my files. Here are my current settings:
image

Here is what I am using:
Microsoft Visual Studio Enterprise 2022 (64-bit) Version 17.10.2

Am I using this wrong or misunderstanding? Or is there an issue with functionality maybe?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions