- download visualStudioCode from here
- open PDE file
- [Ctrl + Shift + P] and type
task
- select
Tasks : Configure Task Runner
- replace with below
{
"version": "0.1.0",
"command": "processing-java",
"isShellCommand": true,
"showOutput": "never",
"args": [
"--force",
"--sketch=${fileDirname}", // replaced from `workspaceRoot`. due to works when working directory is root of git repository only
"--output=${fileDirname}\\out", // replace `workspaceRoot` repeatly
"--run"
]
}
- [Ctrl + Shift + B] : build processing.