开发者

auto formatting new line after inline block comment

Visual Studio autoformat places a new line after all block comments - at least the one I am using. It does so obviously only for those comments, which come first on a line.

/*mark1*/ double[] a = new /*mark2*/ double[100]; 

is formated to:

/*mark1*/ 
double[] a = new /*mark2*/ double[100];  

Since I am using inline block comments as marks for a code replication tool, I want to disable that 'feature' for all block com开发者_如何学编程ments. Auto format should simply ignore them.

/*mark1*/ double[] a = new /*mark2*/ double[100]; 

should not break the line while auto formatting.

Is this possible and how? I tried everything in the "New Lines" section in the C# formatting settings, but without luck.


I suppose, it's simply not possible.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜