Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dart extention is doing pub get automatically

Sometimes, flutter pub get automatically pops-up and start getting packages when we don't need to.

For example, when we save pubspec.yaml in VS Code, the dart plugin automatically runs flutter pub get and I don't want this behavior.

enter image description here

like image 583
Ujjawal Maurya Avatar asked Oct 15 '25 19:10

Ujjawal Maurya


1 Answers

my answer in vs code steps:

  1. open extension (ctrl + shift + x)
  2. open dart extension
  3. click on the setting icon next to uninstall button
  4. click on extension settings in the menu
  5. search pub get
  6. Dart: Run Pub Get On Pubspec Changes : make it never
like image 115
ahmed arafat Avatar answered Oct 17 '25 10:10

ahmed arafat