I am writing a test with very long strings, and I need to split those strings:
private static final String TOO_LONG_JSON = \"{field1:field1, field2:field2 ... fi
You can use auto-formatting (CTRL + ALT + L), after few changes in Code Style settings.
Now when using auto-formatting (CTRL + ALT + L) long strings exceeding line character limit will be automatically cut into multiple lines.