开发者

Monodevelop reformat strings

In MonoDevelop when I select the "Format" menu to clean up the code spacing it conver开发者_JS百科ts this code:

string a =@"
sdfsdf
sdfsdf
sdfsdf";

into single line

string a = @"sdfsdf\n\sdfsdf\n\sdfsdf\n\n";

Is there a way to tell the formatter to ignore strings on multiple lines?


This is clearly a bug in MonoDevelop. It has been reported and fixed in r150648 by Mike Krüger, so it should show up in the next release of MonoDevelop.

StackOverflow is for programming questions, when you face a bug, please file a bug as explained here, so we don't lose track of it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜