-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.json
229 lines (229 loc) · 6.89 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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
{
"editor.fontSize": 16,
"terminal.integrated.fontSize": 16,
"editor.fontLigatures": true,
"workbench.startupEditor": "none",
"vim.easymotion": true,
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.highlightedyank.enable": true,
"vim.smartRelativeLine": true,
"vim.insertModeKeyBindings": [
{
"before": ["j", "j"],
"after": ["<Esc>"]
},
{
"before": ["<Esc>"],
"after": ["<Esc>"],
"commands": ["workbench.action.files.save"]
}
],
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["<C-n>"],
"commands": [":nohl"]
},
{
"before": ["g", "i"],
"commands": ["editor.action.goToImplementation"]
},
{
"before": ["K"],
"commands": ["lineBreakInsert"],
"silent": true
},
{
"before": ["L"],
"after": ["$"]
},
{
"before": ["H"],
"after": ["^"]
},
{
"before": ["g", "p", "d"],
"commands": ["editor.action.peekDefinition"]
},
{
"before": ["g", "i"],
"commands": ["editor.action.goToImplementation"]
},
{
"before": ["g", "p", "i"],
"commands": ["editor.action.peekImplementation"]
},
{
"before": ["g", "q"],
"commands": ["editor.action.quickFix"]
},
{
"before": ["g", "r"],
"commands": ["editor.action.referenceSearch.trigger"]
},
{
"before": ["g", "t"],
"commands": ["editor.action.goToTypeDefinition"]
},
{
"before": ["g", "p", "t"],
"commands": ["editor.action.peekTypeDefinition"]
},
{
"before": ["g", "h"],
"commands": ["editor.action.showDefinitionPreviewHover"]
}
],
"vim.visualModeKeyBindings": [
{
"before": ["H"],
"after": ["^"]
},
{
"before": ["L"],
"after": ["$"]
}
],
"vim.leader": ",",
"vim.handleKeys": {
"<C-a>": true,
"<C-f>": true,
"<C-d>": true,
"<C-e>": true,
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// Controls if quick suggestions should show up while typing
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
// Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.
"editor.acceptSuggestionOnCommitCharacter": true,
// Controls if suggestions should be accepted on 'Enter' - in addition to 'Tab'. Helps to avoid ambiguity between inserting new lines or accepting suggestions. The value 'smart' means only accept a suggestion with Enter when it makes a textual change
"editor.acceptSuggestionOnEnter": "on",
// Controls the delay in ms after which quick suggestions will show up.
"editor.quickSuggestionsDelay": 100,
// Controls if suggestions should automatically show up when typing trigger characters
"editor.suggestOnTriggerCharacters": true,
// Controls if pressing tab inserts the best suggestion and if tab cycles through other suggestions
"editor.tabCompletion": "on",
// Controls whether sorting favours words that appear close to the cursor
"editor.suggest.localityBonus": true,
// Controls how suggestions are pre-selected when showing the suggest list
"editor.suggestSelection": "first",
// Enable word based suggestions
"editor.wordBasedSuggestions": "matchingDocuments",
// Enable parameter hints
"editor.parameterHints.enabled": true,
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
"[cpp]": {
"editor.defaultFormatter": "xaver.clang-format",
"editor.tabSize": 2
},
"[c]": {
"editor.defaultFormatter": "xaver.clang-format",
"editor.tabSize": 2,
"editor.quickSuggestions": {
"other": "on",
"comments": "on",
"strings": "on"
}
},
"[python]": {
"diffEditor.ignoreTrimWhitespace": false,
"editor.tabSize": 4
},
"dictCompletion.leastNumOfChars": 3,
"indentRainbow.ignoreErrorLanguages": ["*"],
"indentRainbow.colorOnWhiteSpaceOnly": true,
"cmake.configureOnOpen": false,
"clangd.path": "/usr/bin/clangd",
"cmake.buildBeforeRun": false,
"cmake.autoSelectActiveFolder": false,
"vim.surround": true,
"clangd.arguments": [
"--function-arg-placeholders=false",
"--header-insertion=never",
"--log=verbose",
"--cross-file-rename",
"--clang-tidy",
"--all-scopes-completion",
"--pretty"
],
"clangd.serverCompletionRanking": true,
"git.openRepositoryInParentFolders": "never",
"security.workspace.trust.untrustedFiles": "open",
"editor.inlayHints.enabled": "off",
"editor.smoothScrolling": true,
"editor.inlineSuggest.enabled": true,
"editor.accessibilitySupport": "off",
"terminal.integrated.fontWeightBold": "bold",
"editor.fontWeight": "normal",
// "editor.tokenColorCustomizations": {
// "textMateRules": [
// {
// "scope": ["keyword"],
// "settings": {
// "fontStyle": "bold"
// }
// },
// {
// "scope": ["entity.name.function"],
// "settings": {
// "fontStyle": "bold"
// }
// },
// {
// "scope": "comment",
// "settings": {
// "fontStyle": "italic"
// }
// }
// ]
// },
"terminal.integrated.fontWeight": "normal",
"editor.fontFamily": "SF Mono, Monaco, 'Courier New', monospace",
"python.formatting.provider": "none",
"cmake.cmakePath": "/opt/homebrew/bin/cmake",
"editor.formatOnSave": false,
"extensions.ignoreRecommendations": true,
"clangd.checkUpdates": false,
"clang-format.fallbackStyle": "Google",
"leetcode.defaultLanguage": "cpp",
"leetcode.endpoint": "leetcode-cn",
"leetcode.nodePath": "/opt/homebrew/opt/node@20/bin/node",
"leetcode.workspaceFolder": "/Users/yaoyhu/.leetcode",
"cmake.automaticReconfigure": false,
"cmake.configureOnEdit": false,
"material-icon-theme.folders.theme": "classic",
"leetcode.hint.commentDescription": false,
"leetcode.hint.commandShortcut": false,
"editor.stickyScroll.enabled": true,
"terminal.integrated.inheritEnv": false,
"lldb.suppressUpdateNotifications": true,
"cmake.showOptionsMovedNotification": false,
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"cmake.configureSettings": {
"CMAKE_TOOLCHAIN_FILE": "[vcpkg root]/scripts/buildsystems/vcpkg.cmake"
},
"leetcode.hint.configWebviewMarkdown": false,
"hexeditor.columnWidth": 8,
"hexeditor.showDecodedText": true,
"hexeditor.defaultEndianness": "little",
"hexeditor.inspectorType": "aside",
"workbench.activityBar.location": "top",
"cmakeFormat.exePath": "/opt/homebrew/bin/cmake-format",
"workbench.colorTheme": "Default Dark+",
"security.promptForRemoteFileProtocolHandling": false,
"workbench.iconTheme": "material-icon-theme",
"json.format.enable": false,
"editor.suggest.showWords": false
}