阻止 Visual Studio 2019 在按下 Enter 时自动添加注释前缀?

use*_*924 1 visual-studio-2019

我找不到关闭 VS2019 编辑器自动继续注释到下一行的选项。例子:

// This is my comment and when I press enter it gives me:
// 
Run Code Online (Sandbox Code Playgroud)

我不希望它在输入时添加//。我在哪里可以关闭它?

谢谢。

小智 5

导航至:工具 -> 选项 -> 文本编辑器 -> C/C++ -> 代码样式 -> 常规,然后取消选中“在编写注释时在新行开头插入现有注释样式”