如何使用/ ** /禁用C ++注释的自动完成功能?
问题描述:
在用"/ *"开始评论后,自动完成立即使其成为"/ ** /",这几乎不是我想要的,因为我试图通过添加结束来评论一个块。 * /"在阻止之后。 有没有办法只禁用
这个自动完成?
After starting a comment with "/*", autocomplete immediately makes it "/**/", which is almost never what I wanted because I'm trying to comment a block by adding the closing "*/" after the block. Is there a way to disable only this autocomplete?
答
转到工具 - |选项|文字编辑器| C / C ++ |高级|大括号完成
Go to Tools- | Options | Text Editor | C/C++ | Advanced | Brace Completion
更改"完成MultiLine评论"为假。
Change "Complete MultiLine Comments" to False.