dotnet/roslyn

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

開放

#53,332 建立於 2021年5月11日

 (10 則留言) (0 個反應) (0 位負責人)C# (4,257 個分叉)batch import
Area-IDEBugInvestigation Requiredhelp wanted

倉庫指標

星標
 (20,414 顆星)
PR 合併指標
 (平均合併 6天 17小時) (30 天內合併 256 個 PR)

描述

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)

貢獻者指南