visual-studio - 什么设置控制 Visual Studio 2017 中的自动结束引号行为?

标签 visual-studio visual-studio-2017

当我在 Visual Studio 中键入“时,我会自动输入第二个”。有时这会有所帮助,但对于我的工作来说,如果我可以将其关闭,则会更有帮助。我不知道 Visual Studio 的哪个选项正在控制这个。我搜索了智能感知和自动完成但没有找到。我确实安装了多个扩展,包括 Productivity Power Tools 2017。

如何禁用/启用此行为?

最佳答案

这是“自动大括号完成”,通过:

菜单工具 > 选项 > 文本编辑器 > 常规 > 自动大括号完成

不幸的是,没有单独的选项可以仅将其应用于报价;当禁用时,您也没有它,例如。大括号、中括号等

关于visual-studio - 什么设置控制 Visual Studio 2017 中的自动结束引号行为?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50534895/

相关文章:

visual-studio - Visual Studio 2017 目标框架中未列出 Asp Net Core 2.1

c# - .Net Standard 2的96多个程序集复制到Console(.Net framework)Application的bin文件夹下

mysql - 如何从 VB.NET 和 MySql 8 中的给定记录读取特定列?

.net - MSChart:饼图标签重叠问题

visual-studio - Visual Studio 2017 在调试时挂起?

c++ - 调试断言失败。 BIG_ALLOCATION_ALLIGNMENT

sql-server - 使用 "There is a compilation error. Do you want to save anyway"消息保存后,C# 代码从脚本任务中消失

c# - 让 NUnit 在 Visual Studio Community 2017 下工作

visual-studio - 在 VSTS/Azure devops 中提交时如何排除更改?

c# - 当我想发布项目: "the specified path, file name, or both are too long"时