1, download and install VSCode;
2, download Processing;
3. Add the environment variable to the PATH E: \ Software \ processing-3.5.3;
4, OpenBCI download the source code;
5, open VSCode;
6, VSCode -> Open folder, select OpenBCI_GUI directory;
7、拷贝OpenBCI Libraries到Progressing Libraries;
从E:\0_Develop\OpenBCI_GUI\OpenBCI_GUI\libraries 到 C:\Users\<username>\Documents\Processing\libraries
8, installation Processing Extension
安装Processing Language Extension
9, the restart VS Code
10, setting tasks.json file
---------------------------------------------------------------
{
"version": "2.0.0",
"tasks": [
{
"label": "Run Sketch",
"type": "shell",
"group": {
"kind": "build",
"isDefault": true
},
"command": "${config:processing.path}",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "dedicated"
},
"args": [
"--force",
"--sketch=${workspaceRoot}/OpenBCI_GUI",
"--output=${workspaceRoot}/OpenBCI_GUI/build",
"--run"
],
"windows": {
"args": [
"--force",
"--sketch=\"${workspaceRoot}\\OpenBCI_GUI\"",
"--output=${workspaceRoot}\\OpenBCI_GUI\\build",
"--run"
]
}
}
]
}
-------------------------------------------------
11, Ctrl + Shift + B run
enjoy!