cheptsov / AdvancedExpressionFolding

https://plugins.jetbrains.com/plugin/9320?pr=idea
141 stars 29 forks source link

Do not fold multi-line string literals #114

Closed sabi0 closed 6 years ago

sabi0 commented 6 years ago

I occasionally have a very long string in the code split onto several lines for better readability: image

Folding them back into a single very long line works against the plugin intention.

Probably the plugin should not fold the strings if there is no "interpolation", just a basic concatenation of the string literals. Another option is to avoid folding strings beyond the configured right margin.

ciscorucinski commented 6 years ago

Duplicate of #29

sabi0 commented 6 years ago

It is not a duplicate of #29. But a duplicate of #50. Closed.