Roslyn: Editor Context Menu Cleanup: Remove Organize Usings

Created on 15 Jun 2016  路  9Comments  路  Source: dotnet/roslyn

As part of our goal to improve developer productivity, let's condense the editor context menu. Let's remove the "Organize Usings" drop-down and replace it with the single top-level command "Remove and Sort Usings" (according to telemetry, it is the most used "Organize Usings" command by far).

Area-IDE Bug

All 9 comments

@Pilchie we're shooting for 2.0 (preview 4)

Isn't it better to turn it into a quick action so it can fix every file in the project / solution? It seems as if it can only sort and remove unnecessary usings in the current document. I think many people would like to fix the whole project / solution.

Agree with @0xd4d. Remove it from the context menu altogether. No reason it should be blessed above other quick actions and reside in the context menu.

While you're here, can you please make sure it has a keyboard shortcut? If you remove it from the menu completely, how do I invoke it quickly?

@KirillOsenkov Tools -> Options -> Keyboard and search for Edit.RemoveAndSort

@0xd4d we need a shortcut that's by default the same for everybody.

@KirillOsenkov what about making it part of #8928's functionality rather than give it a specific keyboard shortcut? Thoughts?

@kuhlenh yeah, that'll work.

I still think we should have a keyboard shortcut for the current file.

Was this page helpful?
0 / 5 - 0 ratings