LS4P icon indicating copy to clipboard operation
LS4P copied to clipboard

[FEATURE] Run using Play button - Additional extension required

Open SyamSundarKirubakaran opened this issue 5 years ago • 1 comments

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.

SyamSundarKirubakaran avatar Aug 23 '19 04:08 SyamSundarKirubakaran

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.

Efratror avatar Apr 01 '22 06:04 Efratror