GabiGrin / vscode-auto-run-command

Run a vscode command when it starts. Made to run wallaby.js automatically when a project is opened
https://marketplace.visualstudio.com/items?itemName=gabrielgrinberg.auto-run-command#review-details
MIT License
23 stars 15 forks source link

Display activation message into status bar #7

Closed kwonoj closed 7 years ago

kwonoj commented 7 years ago

Hi 👋 thx for great extension, I enjoy it.

This PR changes behavior of activation notification, instead of show it as informationMessage, display it into status bar and auto-dismiss it after certain period (3sec, in this PR). Primary reason for this is those activation message is appearing each time starting editor and have to dismiss manually, but in case of successful activation with correct setup probably user won't need to be notified over requires manual dismiss. With this PR message will looks like below in status bar.

image

mdebruijne commented 7 years ago

@GabiGrin Thanks for accepting this pull request! Would you also be so kind to push this change to the Visual Studio Code Marketplace?

GabiGrin commented 7 years ago

@mdebruijne sorry for the delay 😊 Published now, thanks for your contribution!

mdebruijne commented 7 years ago

@GabiGrin apologies are not necessary and credits for the patch goes to @kwonoj , thanks to both of you!