dotnet / dotnet/roslyn

Formatting not working

Open
#73,443 0 comments 0 reactions 0 assignees View on GitHub
Area-IDE Bug IDE-Formatter
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

![image](https://github.com/dotnet/roslyn/assets/26156344/de88445f-4786-4b04-a363-fca44d98704d)
Formatting not working. Pressing ctrl-k + ctrl-d multiple times in VS2022, also tried formatting from menu, no effect.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported behavior in Visual Studio 2022 with Ctrl-K, Ctrl-D and the formatting menu, then inspect the attached screenshot for the affected code and context. The issue needs a minimal reproducible example, expected formatting, and environment details before a file or test can be identified; done means formatting produces the expected result.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.