You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Third party command not being invoked on Ctr-M-Space shortcut, but is being invoked when right clicking project and selecting Cleanup Selected Code. (Specifically CM+ in this instance)
Steps to recreate
Install CodeMaid 12.0
Install CM+ extension v1.1.5
In Extensions -> CodeMaid -> Options -> Third Party, add "Tools.CM+Format" to other cleaning command textbox
Open c# file with using statements and clean using Ctr-M-Space. System using statements are moved down alphabetically instead of to the top, as expected with CM+
Current behavior
CM+ third party command is not invoked, System using statements are moved down in the list alphabetically
Expected behavior
CM+ third party command would be invoked, moving System using statements to the top. (This expected behavior is observed when right clicking on a project and selecting Cleanup Selected Code, just not with Ctr-M-Space)
The text was updated successfully, but these errors were encountered:
Thanks for reporting the issue. Can you confirm if you have changed the Visual Studio settings to place system directives first? This is off by default, but can be enabled at Tools->Options->Text Editor->C#->Advanced->Using Directives->Place 'System' directives first when sorting usings
With that setting enabled you should find that directly invoking Format Document or using CodeMaid (which invokes Format Document) both move System using statements to the top.
Environment
Description
Third party command not being invoked on Ctr-M-Space shortcut, but is being invoked when right clicking project and selecting Cleanup Selected Code. (Specifically CM+ in this instance)
Steps to recreate
Current behavior
CM+ third party command is not invoked, System using statements are moved down in the list alphabetically
Expected behavior
CM+ third party command would be invoked, moving System using statements to the top. (This expected behavior is observed when right clicking on a project and selecting Cleanup Selected Code, just not with Ctr-M-Space)
The text was updated successfully, but these errors were encountered: