Skip to content
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

No code folding forfor statements in VSCode #5107

Closed
lowski opened this issue May 14, 2024 · 1 comment
Closed

No code folding forfor statements in VSCode #5107

lowski opened this issue May 14, 2024 · 1 comment

Comments

@lowski
Copy link

lowski commented May 14, 2024

Describe the bug
There is no folding option for for statements when using VSCode.

To Reproduce
Open a new file and add a for statement.

Expected behavior
As for other control statements such as if, while, switch, ..., there should be an option to fold for statements.

Screenshots
image

Please complete the following information:

  • Operating System and version: macos / Version 14.2
  • VS Code version: mac 1.90.0-insider
  • Dart extension version: 3.88.1
  • Dart/Flutter SDK version: 3.3.1 (Dart) / 3.19.3 (Flutter)
@lowski lowski added the is bug label May 14, 2024
@DanTup DanTup added duplicate and removed is bug labels May 14, 2024
@DanTup
Copy link
Member

DanTup commented May 14, 2024

This has been fixed (via #4780) and shipped in the latest Dart/Flutter SDKs. Please run flutter upgrade to get the latest version which includes the fix:

image

@DanTup DanTup closed this as completed May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants