-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.js
32 lines (32 loc) · 945 Bytes
/
settings.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
// This sets jupyter-notebook as the workbench for ipynb files
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook"
},
// This sets the default tab size to 4
"editor.tabSize": 4,
// This sets the tab size to 2 for Javascript
"[javascript]": {
"editor.tabSize": 2
},
// This sets the tab size to 2 for Javascript
"[json]": {
"editor.tabSize": 2
},
// This forces the tab to be **space**
"editor.insertSpaces": true,
// This set black as the code formatter
"python.formatting.provider": "black",
// This means my code will be formatted on save
"editor.formatOnSave": true,
// This means whitespace is visible
"editor.renderWhitespace": "all",
// This shows squigly lines when linting rules are broken
"python.linting.pylintEnabled": true,
// This orgaizes python imports on save
"[python]": {
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
}
}