One way to do it would be:
- Select the text, Press CTRL + K, C to comment (CTRL+E+C )
- Move the cursor to the first line after the delimiter
//
and before the Code text.
- Press Alt + Shift and use arrow keys to make selection. (Remember to make line selection(using down, up arrow keys), not the text selection - See Box Selection and Multi line editing)
- Once the selection is done, press space bar to enter a single space.
Notice the vertical blue line in the below image( that will appear once the selection is made, then you can insert any number of characters in between them)
I couldn't find a direct way to do that. The interesting thing is that it is mentioned in the C# Coding Conventions (C# Programming Guide) under Commenting Conventions.
Insert one space between the comment delimiter (//) and the comment
text
But the default implementation of commenting in visual studio doesn't insert any space
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…