c# - Visual Studio IntelliSense - change method creation -


first off all, sorry if question exist english limited task.

i use visual studio on c# , of course, intellisense.

when write new method, if or other "method/constructor", intellisense write (when press tab or enter validate suggestion)

actual result :

if (true) {     // code }  private void test() {     // code } // ... 

what want :

if (true) {     // code }  private void test() {     // code } // etc. ... 

see want ? prefer second 'theme', readable me , row economizer.

is option behind, hidden in dark side of vs ?

thanks help.

seems you're asking javascript style formatting here. found this link might help.

1.click tools | options…

2.scroll down text editor node

3.expand c# node

4.expand formatting node

5.click on new lines node

6.you see list of options in image below give full control on when visual studio should put open brace on new line


Comments