I installed the processing-vscode extension and it worked quite well (for VS Code on Mac):
- Open Processing, and click the Tools -> Install “processing-java” menu item.
- Install the processing-vscode extension
- Open your sketch folder in VS Code
- NOT just the
.pdefile, like you would do from the Processing IDE - run
Processing: Create Task File -
Cmd-P+>+Create Task File - Run project:
Cmd-Shift P
The above was from a Mac; on Windows there is a little more to be done to get JAVA onto the PATH - there are instructions on the extensions github page. Additionally, Cmd would be Ctrl