-
Notifications
You must be signed in to change notification settings - Fork 340
Description
Describe the bug
Pressing F5 with a vscode workspace launch settings that points to a different project (within the workspace) opens that project's launch settings file and doesn't run.
To Reproduce
Steps to reproduce the behavior:
- Clone https://github.com/FMorschel/workspace
- Open
this.code-workspace - Open
package/lib/package.dart - Select "APP" option for launch
- Press
F5
Expected behavior
For the "hello world" to launch on the web (the only platform on the repo), but instead, it does as explained above.
Please complete the following information:
Workspace Environment
Dart Code extension: 3.117.20250813
Flutter extension: 3.117.20250731 (activated)
App: Visual Studio Code
App Host: desktop
Version: win 1.103.2
Workspace type: Dart, Flutter (LSP) (Multiroot)
Workspace name: this (Workspace)
Dart (3.10.0-75.1.beta): C:\Users\felip_0vh5fa6\.puro\shared\caches\56f64c26474b70c7bc4d4c8785097499775d59e0\dart-sdk
Flutter (3.36.0-0.2.pre): C:\Users\felip_0vh5fa6\.puro\envs\beta\flutter (No device)
Output from 'dart info'
C:\Users\felip_0vh5fa6\.puro\shared\caches\56f64c26474b70c7bc4d4c8785097499775d59e0\dart-sdk\bin\dart.exe info
If providing this information as part of reporting a bug, please review the information
below to ensure it only contains things you're comfortable posting publicly.
General info
- Dart 3.10.0-75.1.beta (beta) (Thu Aug 7 07:58:56 2025 -0700) on "windows_x64"
- on windows / "Windows 11 Pro" 10.0 (Build 26100)
- locale is pt-BR
Project info
- sdk constraint: '^3.8.1'
- dependencies: flutter
- dev_dependencies: flutter_test
Process info
| Memory | CPU | Elapsed time | Command line |
|---|---|---|---|
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dartvm.exe |
Output from 'flutter doctor'
C:\Users\felip_0vh5fa6\.puro\envs\beta\flutter\bin\flutter.bat doctor -v
[!] Flutter (Channel beta, 3.36.0-0.2.pre, on Microsoft Windows [Version 10.0.26100.4946], locale pt-BR) [1.351ms]
• Flutter version 3.36.0-0.2.pre on channel beta at C:\Users\felip_0vh5fa6\.puro\envs\beta\flutter
! Warning: `flutter` on your path resolves to C:\Users\felip_0vh5fa6\.puro\envs\stable\flutter\bin\flutter, which is not inside your current Flutter SDK checkout at C:\Users\felip_0vh5fa6\.puro\envs\beta\flutter. Consider adding C:\Users\felip_0vh5fa6\.puro\envs\beta\flutter\bin to the front of your path.
! Warning: `dart` on your path resolves to C:\Users\felip_0vh5fa6\dart\bin\dart.exe, which is not inside your current Flutter SDK checkout at C:\Users\felip_0vh5fa6\.puro\envs\beta\flutter. Consider adding C:\Users\felip_0vh5fa6\.puro\envs\beta\flutter\bin to the front of your path.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 452c427043 (3 days ago), 2025-08-25 10:21:35 -0700
• Engine revision 56f64c2647
• Dart version 3.10.0 (build 3.10.0-75.1.beta)
• DevTools version 2.49.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, enable-lldb-debugging
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.
[√] Windows Version (11 Pro 64-bit, 24H2, 2009) [8,5s]
[√] Android toolchain - develop for Android devices (Android SDK version 36.0.0) [6,5s]
• Android SDK at C:\Users\felip_0vh5fa6\AppData\Local\Android\sdk
• Emulator version 35.5.10.0 (build_id 13402964) (CL:N/A)
• Platform android-36, build-tools 36.0.0
• Java binary at: C:\Users\felip_0vh5fa6\AppData\Local\Programs\Android Studio 2\jbr\bin\java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 21.0.6+-13368085-b895.109)
• All Android licenses accepted.
[√] Chrome - develop for the web [430ms]
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.12.5) [427ms]
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.12.35728.132
• Windows 10 SDK version 10.0.22621.0
[√] Connected device (3 available) [824ms]
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.26100.4946]
• Chrome (web) • chrome • web-javascript • Google Chrome 139.0.7258.127
• Edge (web) • edge • web-javascript • Microsoft Edge 138.0.3351.121
[√] Network resources [839ms]
• All expected network resources are available.
! Doctor found issues in 1 category.