-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Labels
in commandsRelates to commands (usually invoked from the command Palette)Relates to commands (usually invoked from the command Palette)is bug
Milestone
Description
Describe the bug
dart and flutter cli cannot be found by windows powershell
To Reproduce
Steps to reproduce the behavior:
- install the flutter sdk through the vscode flutter extension
- click on add sdk to path
Expected behavior
after restarting vscode, windows powershell should be able to find the dart and flutter cli
To Resolve
removing the quotes (") around the path added by the extension inside the path env variable fixes the issue. according to this, paths inside the windows path env var shouldn't be quoted. they should instead use semicolons as delimiters. i can confirm that among all paths present on my machine (including ones with spaces), the dart/flutter's was the only quoted one
Please complete the following information:
- Operating System and version: Windows 11 Pro 10.0.22631 Build 22631
- VS Code version: 1.87.2
- Dart extension version: 3.84.0
- Dart/Flutter SDK version: Dart (3.3.2) / Flutter (3.19.4)
- PowerShell version: 7.4.1
Metadata
Metadata
Assignees
Labels
in commandsRelates to commands (usually invoked from the command Palette)Relates to commands (usually invoked from the command Palette)is bug