-
Notifications
You must be signed in to change notification settings - Fork 323
Using a subdirectory named 'tool' in test makes vscode freeze #4809
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
Comments
The reason for the error I'm seeing is that when we see something inside a "tool" folder we assume it's Dart (not Flutter), because it's common to put utility scripts inside a Flutter project inside a It shouldn't be mis-categorising these inside a nested test/tool folder though, I'll work on fixing that. |
It should be noted my pubspec.yaml looks like this:
Which removed the error you are seeing. Furthermore, the freeze I am referring to is that when the test is executing I need to click the stop button some times before it reacts. |
Ah, having The fix I'm working on for the error I posted should solve both issues (by using |
I see, thanks for clarifying! |
Fixed by 74fd1ff |
Describe the bug
Currently if you make a simple dummy test in a folder named tool it makes vscode freeze and unable to complete.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To execute the file as if it was in the root of the test folder.
Please complete the following information:
Dart Code extension: 3.74.0
Flutter extension: 3.74.0 (activated)
App: Visual Studio Code
App Host: desktop
Version: linux 1.82.3
The text was updated successfully, but these errors were encountered: