Look at Eclipse:
and in Idea:
So, how can I make Idea collapse multiline String like Eclipse?
Look at Eclipse:
and in Idea:
So, how can I make Idea collapse multiline String like Eclipse?
Unfortunately, it seems there are no folding options for string literals.
You could try using custom folding tags, but this could will require extra comments for every string:
To check all existing folding options go to Settings > Editor > General > Code Folding
.