stan-at-work · GitHub

🐛 dart.changeFlutterSdk not available without global Flutter SDK

The VS Code command dart.changeFlutterSdk (Change Flutter SDK) is not visible in the Command Palette when Flutter is not installed globally (not present in PATH).

This becomes an issue for setups using FVM, where Flutter is intentionally managed per project and no global Flutter SDK exists.

Steps to reproduce

  • Do not install Flutter globally
  • Use a project configured with FVM
  • Open VS Code
  • Run Ctrl + Shift + P
  • Search for “Change Flutter SDK”

Actual behavior

  • The dart.changeFlutterSdk command does not appear

Expected behavior

  • The command should be available regardless of a global Flutter installation
  • Users should be able to select an SDK path (including FVM-managed SDKs)

Workaround

Installing a global Flutter SDK makes the command appear again, after which the SDK can be switched to FVM.


NOTE: I refactored the creation of this issue with CHATGPT. The issue is still the same, just the phrasing is a bit different then when I write it myself.

Read the original on github.com ↗