FMorschel · GitHub

Describe the bug
Running Flutter: Get Packages for All Projects does so for every single package and doesn't merge the ones from the same workspace together.

Expected behavior
For it to merge the packages belonging to the same pub workspace into a single entry.

Screenshots

Image

Please complete the following information:

Workspace Environment
Dart Code extension: 3.130.1
Flutter extension: 3.130.0 (activated)
App: Visual Studio Code
App Host: desktop
Version: win 1.111.0
Workspace type: Dart, Flutter (LSP) (Multiroot)
Workspace name: geral (Workspace)
Dart (3.11.1): C:\Users\Administrator\.puro\shared\caches\e4b8dca3f1b4ede4c30371002441c88c12187ed6\dart-sdk
Flutter (3.41.4): C:\Users\Administrator\.puro\envs\stable\flutter (No device)
Output from 'dart info'

C:\Users\Administrator\.puro\shared\caches\e4b8dca3f1b4ede4c30371002441c88c12187ed6\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.11.1 (stable) (Tue Feb 24 00:03:07 2026 -0800) on "windows_x64"
  • on windows / "Windows Server 2022 Datacenter" 10.0 (Build 20348)
  • locale is pt-BR

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
Output from 'flutter doctor'

C:\Users\Administrator\.puro\envs\stable\flutter\bin\flutter.bat doctor -v

[√] Flutter (Channel stable, 3.41.4, on Microsoft Windows [Version 10.0.20348.4773], locale pt-BR) [588ms]
    • Flutter version 3.41.4 on channel stable at C:\Users\Administrator\.puro\envs\stable\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ff37bef603 (8 days ago), 2026-03-03 16:03:22 -0800
    • Engine revision e4b8dca3f1
    • Dart version 3.11.1
    • DevTools version 2.54.1
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration
[√] Windows Version (Server 2022 Datacenter 64-bit, 21H2, 2009) [2,0s]
[!] Android toolchain - develop for Android devices (Android SDK version 36.1.0) [1.045ms]
    • Android SDK at C:\Users\Administrator\AppData\Local\Android\sdk
    • Emulator version 36.4.9.0 (build_id 14788078) (CL:N/A)
    X cmdline-tools component is missing.
      Try installing or updating Android Studio.
      Alternatively, download the tools from https://developer.android.com/studio#command-line-tools-only and make sure to set the ANDROID_HOME environment variable.
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/to/windows-android-setup for more details.
[√] Chrome - develop for the web [52ms]
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[X] Visual Studio - develop Windows apps [49ms]
    X Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components
[☠] Connected device (the doctor check crashed)
    X Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    X Error: Unable to run "adb", check your Android SDK installation and ANDROID_HOME environment variable: C:\Users\Administrator\AppData\Local\Android\sdk\platform-tools\adb.exe
      Error details: Process exited abnormally with exit code -1073741515:
    • #0      throwToolExit (package:flutter_tools/src/base/common.dart:34:3)
      #1      AndroidDevices.pollingGetDevices (package:flutter_tools/src/android/android_device_discovery.dart:77:7)
      <asynchronous suspension>
      #2      PollingDeviceDiscovery._populateDevices (package:flutter_tools/src/device.dart:559:36)
      <asynchronous suspension>
      #3      Future.wait.<anonymous closure> (dart:async/future.dart:546:21)
      <asynchronous suspension>
      #4      DeviceManager.refreshAllDevices (package:flutter_tools/src/device.dart:202:40)
      <asynchronous suspension>
      #5      DeviceValidator.validateImpl (package:flutter_tools/src/doctor.dart:744:34)
      <asynchronous suspension>
      #6      DoctorValidator.validate (package:flutter_tools/src/doctor_validator.dart:58:37)
      <asynchronous suspension>
      #7      Future.any.onValue (dart:async/future.dart:637:5)
      <asynchronous suspension>
[√] Network resources [1.222ms]
    • All expected network resources are available.
! Doctor found issues in 3 categories.

Read the original on github.com ↗