visual studio 2012 - How to disable automatic line break on base constructor call -


my classes formatted automatically in visual studio.

[serializable] public class testexception : exception {     public testexception()         : base() {     } } 

i not want line break happen between constructor , base constructor call, should this.

[serializable] public class testexception : exception {     public testexception() : base() {     } } 

what settings have change in order achieve expected result?

unfortunately there no such setting in visual studio's built-in options\text editor\c#\formatting\new lines dialog.

if use resharper there place constructor initializer on same line option under code editing\c#\formatting style\line breaks , wrapping:

resharper


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -