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)

贡献者指南