-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Description
Describe the bug
When update to version 3.46.0 and has a FVM config in my machine, the Dart Code extension only found a Dart SDK from FVM and don't found a Flutter SDK
To Reproduce
Steps to reproduce the behavior:
0. Has installed a FVM
- Update to 3.46.0
- Open a Flutter project using Flutter version from FVM
- Error: Dart code don't found the Flutter SDK, only de Dart SDK
Expected behavior
Found Flutter SDK when has a Flutter project and a FVM config
Screenshots
When open one file in this Flutter project, show me this instead Flutter 3.0.5:

Please complete the following information:
- Operating System and version: MacOS Monterey 12.4
- VS Code version: 1.69.2
- Dart extension version: 3.46.0
- Dart/Flutter SDK version: 2.17.6 / 3.0.5
- Target device (if the issue relates to Flutter debugging):
VS Code config (only related to Dart Code extension):
{
"[dart]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.selectionHighlight": false,
"editor.suggestSelection": "first",
"editor.tabCompletion": "onlySnippets"
},
"dart.flutterSdkPath": ".fvm/flutter_sdk",
"dart.flutterSdkPaths": [
"/Users/Matias/fvm/versions"
],
"search.exclude": {
"**/.fvm": true
},
"files.watcherExclude": {
"**/.fvm": true
},
"dart.showInspectorNotificationsForWidgetErrors": false,
"dart.debugExternalPackageLibraries": false,
"dart.debugSdkLibraries": false,
"dartImport.fixOnSave": true,
"dartImport.showInfoMessages": false,
"dart.previewFlutterUiGuides": true,
"dart.showIgnoreQuickFixes": false,
"dart.flutterOutline": false,
"dart.renameFilesWithClasses": "prompt",
"dart.warnWhenEditingFilesOutsideWorkspace": false
}hmG3
