You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature request] Make multi-line string literals foldable #5139
final bigString ='''I am a multiline string.I might be really long.For example, I could be an entire Android manifest (the XML you would find in an AndroidManifest.xml file)that's defined in a test file.'''
It would be nice if I could fold this. This is something I can do with multi-line string literals in JS/TS:
Describe alternatives you've considered
The user can manually create folding regions using the "Create Folding Range from Selection", but it's generally not worth the time to do this.
Activity
[analysis_server] Support folding multiline strings
DanTup commentedon Jun 24, 2024
Fixed by dart-lang/sdk@4f36252. The fix is in the Dart analysis server so will show up in a future SDK release (not Dart-Code release).
andrewkolos commentedon Jun 26, 2024
Thank you for your continued work on folding!