-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added vscode and pylinter integration. Fixes p5py#66
- Loading branch information
1 parent
5a3e6e0
commit 9b6bc6b
Showing
3 changed files
with
39 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ Guides | |
:maxdepth: 1 | ||
|
||
for-processing-users | ||
vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
======================= | ||
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 reccomend that you turn off some pylint settings, for that you would require a settings file. The setup is simple so do not panic! | ||
|
||
======================= | ||
Setup | ||
======================= | ||
|
||
1. Go into the directory in which keep all of your p5py projects. | ||
2. In that directory create a folder called ``.vscode`` | ||
3. In the ``.vscode`` directory create a file called ``settings.json`` | ||
4. In that file copy and paste all of these json settings: | ||
|
||
.. code:: | ||
{ | ||
"python.linting.pylintArgs": [ | ||
"--disable", "E0102", | ||
"--disable", "C0111", | ||
"--disable", "W0401", | ||
"--disable", "C0304", | ||
"--disable", "W0614", | ||
"--disable", "W0622" | ||
] | ||
} | ||
5. Save the file and you are ready to write some amazing projects in VS Code and p5py!! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters