vscode settings - VS code How to place open braces on the same line? -


visual studio code puts braces on new line(c# style). functions this.

public string getstring()         {             string hi = "hello world";             return hi;         } 

i want put braces after function name. this:

public string getstring(){             string hi = "hello world";             return hi;         } 

i checked settings , did not find ways solve issue. glad if me.

for javascript , typescript, vscode supports following settings.

"typescript.format.placeopenbraceonnewlineforfunctions": boolean "typescript.format.placeopenbraceonnewlineforcontrolblocks": boolean "javascript.format.placeopenbraceonnewlineforfunctions": boolean "javascript.format.placeopenbraceonnewlineforcontrolblocks": boolean

reference: javascript in vs code


Comments

Popular posts from this blog

cookies - Yii2 Advanced - Share session between frontend and mainsite (duplicate of frontend for www) -

angular - password and confirm password field validation angular2 reactive forms -

php - Permission denied. Laravel linux server -