emeraldwalk / vscode-runonsave

Visual Studio Code extension to run commands whenever a file is saved.
Apache License 2.0
182 stars 57 forks source link

Display a message to the user: status bar or notification? #39

Open dmr opened 4 years ago

dmr commented 4 years ago

Hi there,

I'm a big fan of this extension. It works really well and I use it every day. Thank you very much for building it.

There is one feature that I miss: A way to show a message to the user: Is there a way to show a specific message to the user if something fails or any way to interact with the editor environment?

There is another "run on save" extension which offers a status bar message (https://github.com/pucelle/vscode-run-on-save) I did not try it yet but I think this might be a good feature extension for this run on save extension as well.

What do you think?

bmingles commented 4 years ago

I'd probably have to hear some more specific details about what the proposed configuration + the output would be here, but it sounds interesting. I'd also be happy to review a PR if you want to submit one.

jednano commented 4 years ago

Are you aware of the output window?

Screen Shot 2020-06-14 at 10 55 42 AM
eugenevd commented 4 years ago

On the first save, I wasn't sure anything was happening. Had to dig around to find the output window @jedmao mentioned. Some indicator, or way to quickly access the output would be great. If it's running a shell script, you could check for the exit code and response from that...