Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure Visual Studio Code for Processing?

I am creating projects in Processing 3.5.3. I don't like the Processing IDE and want to use Visual Studio Code instead. I couldn't find a helpful source online (most didn't have the full instructions).

I installed the Processing Language extension in Visual Studio Code. In order to configure it, I created a file named Processing.pde, opened it, and then pressed Ctrl+Shift+P and typed Create Task File. I selected my workspace folder from the list in the Command Palette. I got a notification saying:

tasks.json already exists. Overwrite it?

I clicked Yes, and got another notification saying

Please add Processing to your path!

I have Processing in E:\processing-3.5.3-windows64\processing-3.5.3. I added this to the path variable (in System Variables) and tried again. But I got the notification again.

Am I adding the wrong path? How do I configure VSCode for Processing?


1 Answers

I had some problems figuring it out too. This GitHub page helped.

Your path should end with processing-java, and use \\ instead of \.

Example:

"processing.path": "C:\\Program Files\\processing-3.0.1\\processing-java",
like image 55
television_dust Avatar answered Jun 10 '26 03:06

television_dust



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!