-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.json
111 lines (111 loc) · 3.72 KB
/
settings.json
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
// CMD+Maj+P or View->Command palette->Preferences: Open Settings (JSON)
// An opinionated list of VS Code settings used by Guillaume Gautier guilgautier https://guilgautier.github.io/
{
"breadcrumbs.enabled": true,
// Explorer
"explorer.sortOrder": "type",
// Workbench
"workbench.colorTheme": "Julia (Monokai Classic)",
"workbench.activityBar.visible": true,
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook"
},
"workbench.sideBar.location": "right",
"workbench.statusBar.visible": true,
"window.openFilesInNewWindow": "off",
// Files
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
// Editor
"editor.codeActionsOnSave": {
"source.fixAll.markdownlint": true
},
"editor.detectIndentation": true,
"editor.fontSize": 13,
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.insertSpaces": true,
"editor.minimap.enabled": false,
"editor.multiCursorModifier": "ctrlCmd",
"editor.renderControlCharacters": true,
"editor.renderWhitespace": "none",
"editor.snippetSuggestions": "top",
"editor.suggestOnTriggerCharacters": true,
"editor.suggestSelection": "first",
"editor.tabSize": 4,
"editor.tokenColorCustomizations": null,
"editor.wordWrap": "bounded",
"editor.quickSuggestions": {
"comments": "on",
"strings": "on",
"other": "on"
},
// native bracket pair colorization
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": "active",
// Terminal
"terminal.integrated.inheritEnv": false,
"terminal.integrated.defaultProfile.osx": "zsh",
// "terminal.integrated.fontFamily": "Meslo LG L DZ for Powerline",
"terminal.integrated.commandsToSkipShell": [
"language-julia.interrupt"
],
// Intellicode
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
// Python
"[python]": {
"editor.insertSpaces": true,
"editor.rulers": [
{
"column": 80,
"color": "#ff00FF"
},
100, // <- a ruler in the default color or as customized at column 0
{
"column": 120,
"color": "#ff0000"
},
],
"editor.tabSize": 4,
"editor.wordWrapColumn": 80,
},
"python.languageServer": "Pylance",
"python.condaPath": "~/opt/anaconda3/bin/anaconda",
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
"python.formatting.provider": "black",
"python.linting.enabled": true,
"python.linting.lintOnSave": true,
"python.terminal.activateEnvironment": false,
// Need "sphinx.ext.napoleon" extension in docs/conf.py
"autoDocstring.docstringFormat": "google",
"autoDocstring.includeExtendedSummary": true,
"pythonIndent.trimLinesWithOnlyWhitespace": true,
// Markdown
"[markdown]": {
"editor.tabSize": 2,
"editor.quickSuggestions": {
"comments": "on",
"strings": "on",
"other": "on"
},
},
// RestructuredText
"esbonio.server.enabled": true,
"esbonio.sphinx.buildDir": "${workspaceFolder}/docs/_build",
"esbonio.sphinx.confDir": "${workspaceFolder}/docs",
// TOML
"[toml]": {
"editor.defaultFormatter": "tamasfe.even-better-toml"
},
// Spell checker
"cSpell.enabled": true,
"cSpell.language": "en,fr",
"python.testing.pytestArgs": [
"tests"
],
"python.testing.unittestEnabled": false,
"python.testing.nosetestsEnabled": false,
"python.testing.pytestEnabled": true,
}