dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
18.9k stars 4.01k forks source link

Fix formatting not using tabs #74702

Open vsfeedback opened 1 month ago

vsfeedback commented 1 month ago

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


[severity:It's more difficult to complete my work] 'Format document' converts all spaces to tabs, as set in preferences. Then, every line gets a 'Fix formatting' quick action that adds the spaces back when clicked.

Please make 'Fix formatting' use the same formatting options as 'Format document'.


Original Comments

Lisa Gao (CSI Interfusion Inc) [MSFT] on 8/7/2024, 09:14 PM:

(private comment, text removed)

Culp, Benton on 8/8/2024, 02:28 AM:

(private comment, text removed)

Feedback Bot on 8/8/2024, 09:05 PM:

(private comment, text removed)


Original Solutions

(no solutions)

Youssef1313 commented 1 month ago

Somewhat similar to https://github.com/dotnet/roslyn/issues/68709

StotaxBentonCulp commented 1 month ago

Hi. I issued this on VS Dev Community. I can try to get a consistent repro if needed.