dotnet/roslyn

Uncomment Selection Auto Formats

Aperta

#56.267 aperta il 8 set 2021

 (2 commenti) (0 reazioni) (0 assegnatari)C# (4257 fork)batch import
Area-IDEConcept-Continuous ImprovementDeveloper CommunityIDE-Formatterhelp wanted

Metriche repository

Star
 (20.414 stelle)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

Descrizione

This issue has been moved from a ticket on Developer Community.


When you Comment out a selection of code and then un-comment the selection it applies a "Format Selection" comand on it. Which I know is NOT Roslyn doing it upon Uncomment Selection because I can hit Control+Z to "undo" the re-format.

Please DO NOT format my code

B08e9e9c1ced446d9b602c852be958fb1637664539152781753_20210905-105155-image

Beba5971b871b49e7950731728a44060f637664539958592279_20210905-105316-image

I hit Control+Z and it leaves it uncommented but un-does the "Apply format" command

Be16bc5d1661245508b3af1d3aab7f844637664540311341830_20210905-105351-image


Original Comments

Feedback Bot on 9/6/2021, 03:06 AM:

Feedback Bot on 9/8/2021, 09:45 AM:


Original Solutions

(no solutions)

Guida contributor