Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't switch to Output tab when automatically installing packages #2280

Closed
tp opened this issue Feb 29, 2020 · 2 comments
Closed

Don't switch to Output tab when automatically installing packages #2280

tp opened this issue Feb 29, 2020 · 2 comments
Labels
in commands Relates to commands (usually invoked from the command Palette) is enhancement
Milestone

Comments

@tp
Copy link

tp commented Feb 29, 2020

This extension seems to always the Output tab when it finds the packages are not up to date with pubspec.yaml and hence auto-fetches the latest packages. (I assume it's an extension issue and not a general VS Code behavior from this comment: microsoft/vscode#34221 (comment))

In my case this happens always when I am actively doing something in the integrated terminal, but makes it especially jarring as it breaks my flow: E.g. after checking out another Git branch with a different pubspec it switches to the Output tab and I have to manually switch back before continuing in the terminal (for example in this case often creating a new branch).

image

Proposed Solution

Either

  • Offer an option to disable the automatic switching
  • Just show a notification in the usual success case instead

Thanks!

@DanTup
Copy link
Member

DanTup commented Feb 29, 2020

Yep, this is done by the extension and I think it's fair to not force this - we could add each line to the existing notification status and then just switch to the output window if the exit code is non-zero (or if possible, add a button for "Show Output"). Same probably applies for the other commands that run through the same code.

@DanTup DanTup added in commands Relates to commands (usually invoked from the command Palette) is enhancement labels Feb 29, 2020
@DanTup DanTup added this to the v3.9.0 milestone Feb 29, 2020
@uniquejava
Copy link

Hello.

I am mad about this.

I am working on TERMINAL tab (say. entering some git commands)

but this plugin constantly disturbs me.

it's auto switching to the OUTPUT tab(even I hide it )

with the following messages from OUTPUT

exit code 0
[sales_anchor_app] flutter packages get
Running "flutter pub get" in sales_anchor_app...                    0.5s
exit code 0
[sales_anchor_app] flutter packages get
Running "flutter pub get" in sales_anchor_app...                    0.5s
exit code 0

I can't find any settings about this. Can I temporarily disable the output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in commands Relates to commands (usually invoked from the command Palette) is enhancement
Projects
None yet
Development

No branches or pull requests

3 participants