Jul*_*ian 6 c++ ide styles comments
我看到很多人抱怨 Visual Studio 会自动在 C# 的多行注释中添加星号。我的问题是:如何为 C++启用这种行为?
例子:
/**
* I want
* my comments
* to look like this
*/
/**
But,
they look like this
*/
Run Code Online (Sandbox Code Playgroud)
谢谢!
小智 2
我注意到在 Visual Studio 2019 中,如果将文本光标放在块注释中的第一个星号后面并按 Enter 键,它将自动在下一行添加一个星号。
步骤 1) 将文本光标置于块注释中第一个星号的右侧,并以换行符分隔。
步骤 2) 按 Enter 键,Visual Studio 2019 将自动在下一行放置一个星号。