-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.json
179 lines (179 loc) · 6.21 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
// color theme
"window.autoDetectColorScheme": true,
"workbench.iconTheme": "material-icon-theme",
"workbench.preferredDarkColorTheme": "Default Dark Modern",
"workbench.preferredLightColorTheme": "Default Light Modern",
// font
"editor.fontFamily": "'Iosevka', monospace",
"editor.fontLigatures": true,
"editor.fontSize": 16,
"editor.fontWeight": "normal",
"workbench.fontAliasing": "default",
// format
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"editor.formatOnType": true,
"files.autoSave": "afterDelay",
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
// window
"window.customTitleBarVisibility": "never",
"window.dialogStyle": "native",
"window.nativeTabs": true,
"window.titleBarStyle": "native",
"workbench.activityBar.location": "top",
// explorer
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"files.exclude": {
"**/.ropeproject": true,
"**/__pycache__": true,
"**/.DS_Store": true,
"**/.git": true,
"**/.hg": true,
"**/.idea": true,
"**/.mypy_cache": true,
"**/.pytest_cache": true,
"**/.ruff_cache": true,
"**/.svn": true,
"**/.venv": true,
"**/bazel-*": true,
"**/CVS": true
},
"workbench.list.smoothScrolling": true,
"workbench.tree.expandMode": "singleClick",
"workbench.tree.indent": 8,
// outline
"outline.showVariables": false,
// editor
"editor.acceptSuggestionOnEnter": "smart",
"editor.accessibilitySupport": "off",
"editor.cursorBlinking": "solid",
"editor.cursorSmoothCaretAnimation": "on",
"editor.cursorStyle": "block",
"editor.guides.bracketPairs": "active",
"editor.hover.sticky": true,
"editor.inlayHints.enabled": "offUnlessPressed",
"editor.inlineSuggest.enabled": true,
"editor.minimap.enabled": false,
"editor.renderWhitespace": "boundary",
"editor.rulers": [
80,
120
],
"editor.smoothScrolling": true,
"editor.snippetSuggestions": "top",
"editor.stickyScroll.enabled": true,
"editor.suggest.preview": true,
"editor.suggest.showMethods": true,
"editor.wordWrap": "bounded",
"editor.wordWrapColumn": 120,
"files.autoGuessEncoding": true,
"git.blame.editorDecoration.enabled": true,
"git.discardUntrackedChangesToTrash": true,
"github.showAvatar": false,
"workbench.editor.closeOnFileDelete": true,
"workbench.editor.highlightModifiedTabs": true,
"workbench.editor.splitSizing": "split",
"workbench.editor.tabActionLocation": "left",
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook"
},
"workbench.settings.editor": "json",
"workbench.startupEditor": "newUntitledFile",
// telemetry
"telemetry.telemetryLevel": "off",
// terminal
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.fontFamily": "Iosevka Term",
"terminal.integrated.fontLigatures.enabled": true,
"terminal.integrated.fontSize": 16,
"terminal.integrated.tabs.enabled": true,
// extensions
"extensions.autoUpdate": "onlyEnabledExtensions",
"extensions.ignoreRecommendations": true,
//// c/cpp
"clangd.enable": false,
"C_Cpp.intelliSenseEngine": "default",
"C_Cpp.codeAnalysis.clangTidy.enabled": true,
"C_Cpp.codeAnalysis.clangTidy.checks.enabled": [
"clang-analyzer-*",
"misc-include-cleaner"
],
"C_Cpp.codeAnalysis.clangTidy.checks.disabled": [],
"C_Cpp.default.compilerPath": "/usr/bin/clang",
"C_Cpp.default.cppStandard": "c++20",
"C_Cpp.default.cStandard": "c17",
"C_Cpp.default.defines": [],
"C_Cpp.default.includePath": [],
"C_Cpp.default.intelliSenseMode": "macos-clang-arm64",
"C_Cpp.default.macFrameworkPath": [
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks"
],
"C_Cpp.intelliSenseCacheSize": 0,
//// github copilot
"chat.editor.wordWrap": "on",
"chat.experimental.statusIndicator.enabled": false,
"chat.promptFiles": true,
"github.copilot.chat.codeGeneration.useInstructionFiles": true,
"github.copilot.chat.codeGeneration.instructions": [],
"github.copilot.chat.commitMessageGeneration.instructions": [],
"github.copilot.chat.reviewSelection.instructions": [],
"github.copilot.chat.testGeneration.instructions": [],
"github.copilot.chat.codesearch.enabled": true,
"github.copilot.chat.agent.runTasks": true,
"github.copilot.editor.enableAutoCompletions": true,
"github.copilot.editor.enableCodeActions": true,
"github.copilot.enable": {
"*": true,
"plaintext": false,
"markdown": false,
"yaml": false
},
"github.copilot.nextEditSuggestions.enabled": true,
"github.copilot.renameSuggestions.triggerAutomatically": true,
"github.copilot.selectedCompletionModel": "gpt-4o-copilot",
//// go
"go.lintFlags": [
"--fast",
"--enable-all"
],
"go.lintOnSave": "workspace",
"go.lintTool": "golangci-lint",
"go.toolsManagement.autoUpdate": true,
"gopls": {
"formatting.gofumpt": true
},
//// lldb
"lldb.launch.expressions": "native",
"lldb.library": "/Library/Developer/CommandLineTools/Library/PrivateFrameworks/LLDB.framework/Versions/A/LLDB",
//// python
"isort.args": [
"--profile",
"black"
],
"notebook.cellToolbarLocation": {
"default": "right",
"jupyter-notebook": "left"
},
"notebook.diff.experimental.toggleInline": true,
"python.analysis.aiCodeActions": {
"generateSymbol": true
},
"python.analysis.autoImportCompletions": true,
"python.languageServer": "Pylance",
"python.terminal.activateEnvironment": true,
"python.terminal.executeInFileDir": true,
"python.testing.pytestEnabled": true,
"[python]": {
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnPaste": false,
"editor.formatOnSaveMode": "file"
}
}