-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Region/folding is not supported? #1232
Comments
This is not currently supported. As far as I'm aware, We implemented folding in the Dart Analysis Server in the SDK so that it can be re-used across editors so supporting this would have to come from the SDK, so this should be raised in the SDK repo. |
ok thanks. |
|
@angelopolotto Didn't work in VCode |
@engmsaleh Don't work in VSCode, only Android Studio and Intellij. |
Not the real solution for the problem, but for those just searching for a workaround: |
It's a real solution for me :), works very well. |
This one worked for me also, and I really love regions, so thank you very much for mentioning. |
(breadcrumbs for the next person: dart-lang/sdk#34795) |
FWIW, it's not what was asked here but it's related.. VS Code now allows folding of arbitrary blocks of code (regardless of language), but you need to create them through a command, they're not marked in the source code: folding.mp4 |
I see that VS Code supports region/folding for some language e.g.
//#region My Region
some code
//#endregion
But dart is not supported. Am I doing something wrong or this will be added later?
The text was updated successfully, but these errors were encountered: