LS4P
LS4P copied to clipboard
[FEATURE] Run using Play button - Additional extension required
For running the Processing sketch directly from VScode workspace, a Java plugin has to be installed in VScode, so that it can run java code in the VScode sandboxed container.
- https://code.visualstudio.com/docs/languages/java
Currently, the Preprocessed Processing file is run using shell commands on migrating to the above users will not be able to run Processing sketch until this extension is installed.!
Need Processing community's concern regarding this.
You could implement buttons directly in the vs-code menu's. Start a child process and pipe it's output to a vs-code output channel. I will send a PR.
The problem lies with the java vm you would have to run. But maybe it's possible to extract the necessary components from jdk and include them in the package at a later stage. Server side compilation would also need its javac components but this could also be added later.