Max*_*Max 2 c# comments block-comments visual-studio
这是一个生活质量问题,可能非常简单,但是,我似乎找不到答案。
如果您开始块评论...
/*
my code here
string url = "lorumipsum....*/...lorumipsum"; <---this "*/" is closing the comment early
more code
*/
Run Code Online (Sandbox Code Playgroud)
它由字符串中的任何“*/”关闭。有办法逃避这个吗?或者我只是手动“//”该行并块注释其余部分?
您可以从工具栏选择所有文本和注释(快捷键:++ Ctrl)。它将像这样添加到所有选定行的前面。KU//
///*
//my code here
//string url = "lorumipsum....*/...lorumipsum"; <---this "*/" is closing the comment early
//more code
//*/
Run Code Online (Sandbox Code Playgroud)
无需手动执行此操作。
| 归档时间: |
|
| 查看次数: |
401 次 |
| 最近记录: |