question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running `pub` or `flutter` commands from palette should automatically call to the other if appropriate for the current project

See original GitHub issue

In Flutter projects we should run flutter packages get instead of pub get.


Considerations:

Should we create a different setting for this? Should we rename the existing setting to getPackagesOnPubspecChanges to be more generic?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
DanTupcommented, Mar 14, 2018

Made a bunch of changes here - both the Gets and Upgrades should now call each other, even if invoked from the palette.

0reactions
DanTupcommented, Mar 14, 2018

Actually, running pub get from the command palette does the wrong thing; we should be smarter.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio Code - Flutter documentation
Visual Studio Code ; Click the Extensions button in the Side Bar. · Restart VS Code. ; Open the Command Palette ( Ctrl...
Read more >
Commands - Dart & Flutter support for Visual Studio Code
Dart Code adds a number of commands to the command palette ( Ctrl + Shift + P ... If invoked in a Flutter...
Read more >
Flutter plugin not installed error; When running 'flutter doctor'
Go to Android studio → Settings → plugins → in the search bar search for Flutter and Dart plugins. If you are installing...
Read more >
Getting started with Flutter by creating a new project - Tutorial
In this exercise you create and run a Flutter app via the command line. In the next exercise you will do the same...
Read more >
VSCode Shortcuts, Extensions & Settings for Flutter ...
A curated list of popular VSCode shortcuts, extensions & settings to speed-up your Flutter development workflow and code like a pro.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found