How to use Visual Studio Code with Processing 3

I installed the processing-vscode extension and it worked quite well (for VS Code on Mac):

  1. Open Processing, and click the Tools -> Install “processing-java” menu item.
  2. Install the processing-vscode extension
  3. Open your sketch folder in VS Code
  4. NOT just the .pde file, like you would do from the Processing IDE
  5. run Processing: Create Task File
  6. Cmd-P + > + Create Task File
  7. 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

5 Likes