dotnet/roslyn

Uncomment Selection Auto Formats

Ouverte

#56 267 ouverte le 8 sept. 2021

 (2 commentaires) (0 réaction) (0 personne assignée)C# (4 257 forks)batch import
Area-IDEConcept-Continuous ImprovementDeveloper CommunityIDE-Formatterhelp wanted

Métriques du dépôt

Stars
 (20 414 étoiles)
Métriques de merge PR
 (Merge moyen 6j 17h) (256 PRs mergées en 30 j)

Description

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)

Guide contributeur