AvinZarlez / processing-vscode

A Visual Studio Code extension for the programming language Processing
https://marketplace.visualstudio.com/items?itemName=Tobiah.language-pde
MIT License
177 stars 25 forks source link

Run/Reload on save #103

Closed rx2347 closed 2 years ago

rx2347 commented 2 years ago

I don't know if this is possible at all, but we all got used to run on save features on linters or prettier for example, so maybe that's an option? Probably need to check for running tasks first and quit them though...?

AvinZarlez commented 2 years ago

To clarify, what you want is when your save your file for it to automatically execute the task to start processing?

rx2347 commented 2 years ago

To clarify, what you want is when your save your file for it to automatically execute the task to start processing?

Exactly!

AvinZarlez commented 2 years ago

While I would consider an optional off by default setting if someone wanted to make it and submit a PR... This is probably out of scope for this extension.

There are other extensions that when combined could create the same effect. Since this extension creates a standard VSCode task. Such as https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.triggertaskonsave (NOTE: I have never used, downloaded or tested that extension. I cannot speak for it)