dotnet/roslyn

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

Aperta

#53.332 aperta il 11 mag 2021

 (10 commenti) (0 reazioni) (0 assegnatari)C# (4257 fork)batch import
Area-IDEBugInvestigation Requiredhelp wanted

Metriche repository

Star
 (20.414 stelle)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

Descrizione

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)

Guida contributor