【问题标题】:How to turn off auto completion for property brackets?如何关闭属性括号的自动完成?
【发布时间】:2016-06-14 19:24:07
【问题描述】:

我正在使用 Visual Studio 2015 社区版。这一行:

public static List<BaseRecipe> Recipes { get { return recipes; } }

当我输入它时变成下面。

public static List<BaseRecipe> Recipes
{
    get
    {
        return recipes;
    }
}

是的,我确实在“选项 > 文本编辑器 > C#”中关闭了“自动大括号完成”。这不是什么大问题,只是一个烦人的小问题,每次我输入一个属性都需要十秒钟左右的时间来解决。

【问题讨论】:

    标签: c# visual-studio properties autocomplete


    【解决方案1】:

    关闭Options &gt; Text Editor &gt; C# &gt; Formatting &gt; General &gt; Automatically format block on }

    【讨论】:

      猜你喜欢
      • 2012-06-18
      • 2014-01-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-02-24
      相关资源
      最近更新 更多