dotnet/roslyn

Settings > Text Editor > C# > Code style > Formatting > Spacing - Not all previews work

Open

#53,332 opened on May 11, 2021

 (10 comments) (0 reactions) (0 assignees)C# (4,257 forks)batch import
Area-IDEBugInvestigation Requiredhelp wanted

Repository metrics

Stars
 (20,414 stars)
PR merge metrics
 (Avg merge 6d 17h) (256 merged PRs in 30d)

Description

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


[severity:It's more difficult to complete my work] [regression] [worked-in:16.9] Repro steps:

  1. Open a C# project.
  2. Open Text Editor > C# > Code style > Formatting > Spacing
  3. The following settings don't update the preview pane when toggled with the space-bar or mouse-click on the checkbox:
    • "Insert space within parentheses of expessions"
    • "Insert space within parentheses of type casts"
    • "Insert space after cast"
    • "Insert space before open square bracket"
    • And many others. Many options' previews do work, but not others. I can't see a pattern as to why some work and others don't.

Original Comments

Feedback Bot on 5/10/2021, 07:40 PM:


Original Solutions

(no solutions)

Contributor guide