wk-j / vscode-save-and-run

Visual Studio Code extension to run commands whenever a file is saved https://marketplace.visualstudio.com/items?itemName=wk-j.save-and-run
Apache License 2.0
32 stars 7 forks source link

Does not work for .ipynb files #45

Open venaturum opened 3 years ago

venaturum commented 3 years ago

I have both Python and Jupyter extensions installed.

If I rename my ipynb file to have the extension ipynbb and change the "save and run" settings accordingly then the command gets triggered as expected. But if I change the file extension back to ipynb then nothing happens.

venaturum commented 3 years ago

Looks like it may need to listen for event onDidSaveNotebookDocument

francisco-perez-sorrosal commented 3 years ago

For VSCode to support that, it requires to expose new events. I created an issue in the VSCode github repo for that. Please upvote there!