ReSharper Help

Splitting Lines with String Literals

When you type long sting literals, ReSharper helps you split the lines adding the necessary quotation marks and plus signs.

While the caret is within a string literal,

pressing Enter or Shift+Enter will split the string correctly so that your code syntax does not get broken:

This feature is supported in the following languages/technologies:

C# VB.NET C++ HTML ASPX Razor JavaScript TypeScript CSS XML XAML RESX Build Scripts
feature_available feature_available feature_available

See Also

Last modified: 21 September 2015