dotnet/roslyn

Uncomment Selection Auto Formats

Aberta

#56.267 aberto em 8 de set. de 2021

 (2 comentários) (0 reação) (0 responsável)C# (4.257 forks)batch import
Area-IDEConcept-Continuous ImprovementDeveloper CommunityIDE-Formatterhelp wanted

Métricas do repositório

Stars
 (20.414 estrelas)
Métricas de merge de PR
 (Mesclagem média 6d 17h) (256 fundiu PRs em 30d)

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)

Guia do colaborador