Visual Studio 2012: change javascript comment style

When I comment on a line in a javascript file in Visual Studio using a shortcut or button on the toolbar, there is no space before the comment text.

//the way comments are currently formatted 

I want space added before the comment text.

 // the way I want it 

How to change default comment formatting?

+4
source share
1 answer

I do not think you can do this out of the box. BUT you obviously can create a visual studio extension for this

+3
source

Source: https://habr.com/ru/post/1432322/


All Articles