Go Back
4 Votes

Add support for sorting imports


When writing object oriented code in Synergy DBL, it would be great to have the option to sort imports alphabetically to help keep source files neat and tidy.

User-added image
User-added image

We should also implement a the feature in the Advanced options dialog page to let a user put the System imports at the top.

2 Comments | Posted by Marty Lewis to Synergy DBL, Synergy .NET, Visual Studio Integration on 4/6/2019 12:32 AM
Kish Baley
And in same place where System imports are moved to the top, also have a checkbox that automatically performs the remove/sort imports when the document is formatted (<CTRL><K>, <CTRL><D>) ala C# CodeStyle>Formatting.

4/10/2019 4:12 PM   0  
Ace Olszowka
It should support .editorconfig as per https://synergexresourcecenter.force.com/SiteIdea?id=0870d000000XjlPAAS which will help enforce the rules that Kish mentioned above.

In order to support that it should support all Roslyn reflows as per https://synergexresourcecenter.force.com/SiteIdea?id=0870d000000Xk1rAAC

4/25/2019 9:53 PM   0  
Please log in to comment on this idea.