开发者

Monodevelop reformat strings

开发者 https://www.devze.com 2022-12-19 06:51 出处:网络
In MonoDevelop when I select the \"Format\" menu to clean up the code spacing it conver开发者_JS百科ts this code:

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

精彩评论

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

关注公众号