Is there a way in visual studio to get braces to indent when editing javascript.
Though there is an option for it in Options under Text Editor:C/C++:Formatting:Indent Braces but for the JScript Text Editor it does not list the ‘Indent Braces’ as a Formatting option.
How could I accomplish this so that our c++ and js code are consistently formatted? We use whitesmith style for majority of the code
Whitesmith style looks like:
if (condition)
{
statement();
}
Would there be a way with VS extensions or options to do this?
Any leads/solutions are appreciated.
You cant do this with Visual Studio. A tool like Resharper can do this for you.