[TIP] Breaking strings in MonoDevelop

To break a string over multiple lines, adding the " + " into the middle of the string, so that you can continue a string onto the next line, in MonoDevelop, if you place the cursor at the location you want to break the string, and hold down the alt key while pressing Enter, MonoDevelop will bring up a menu for string reformatting. Selecting the “Split string literal” will automatically add the " + ", starting the next part on the next line.


Hey that is super useful, thanks for posting! I have bookmarked so I can find later if I forget!

1 Like

Now, if you press Enter while typing it’s split automatically

Privacy & Terms