VS Code Integration¶
Using VS Code as your code editor for p5py will be a great choice as of pylinter integration and a lot of autocomplete features!
Before you start using VS Code as your code editor for p5py. We recommend that you turn off some pylint settings, for that you would require a settings file. The setup is simple so do not panic!
Setup¶
- Go into the directory in which keep all of your p5py projects.
- In that directory create a folder called
.vscode
- In the
.vscode
directory create a file calledsettings.json
- In that file copy and paste all of these json settings:
{
"python.linting.pylintArgs": [
"--disable", "E0102",
"--disable", "C0111",
"--disable", "W0401",
"--disable", "C0304",
"--disable", "W0614",
"--disable", "W0622"
]
}
- Save the file and you are ready to write some amazing projects in VS Code and p5py!!