为什么 Visual Studio 停止提供自动添加异步方法后缀的选项?
Why did Visual Studio stop giving the option to automatically add an Async method suffix?
Visual Studio 2017 用于强调异步方法,并提供添加异步后缀的选项(如果它们还没有的话)。如果您查看 this tool in the Visual Studio Marketplace you'll see exactly what I'm talking about. The only problem is that I never installed that tool, so I'm wondering how I had that functionality before and why it no longer seems to exist as a builtin option. You can see here,这是推荐的编码约定。
我检查了 Visual Studio 命名约定选项,看看我是否可以在那里重新打开它,但 "async methods" 不在列表中。
有谁知道发生了什么变化以及为什么?我正在使用 Visual Studio Enterprise 2017 版本 15.8.1
原来我一直在使用的模板安装了一个正在执行此操作的分析器,所以它毕竟不是内置功能。 https://github.com/Microsoft/vs-threading/blob/master/doc/analyzers/VSTHRD200.md
Visual Studio 2017 用于强调异步方法,并提供添加异步后缀的选项(如果它们还没有的话)。如果您查看 this tool in the Visual Studio Marketplace you'll see exactly what I'm talking about. The only problem is that I never installed that tool, so I'm wondering how I had that functionality before and why it no longer seems to exist as a builtin option. You can see here,这是推荐的编码约定。
我检查了 Visual Studio 命名约定选项,看看我是否可以在那里重新打开它,但 "async methods" 不在列表中。
有谁知道发生了什么变化以及为什么?我正在使用 Visual Studio Enterprise 2017 版本 15.8.1
原来我一直在使用的模板安装了一个正在执行此操作的分析器,所以它毕竟不是内置功能。 https://github.com/Microsoft/vs-threading/blob/master/doc/analyzers/VSTHRD200.md