-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvscode-settings.json
276 lines (276 loc) · 8.3 KB
/
vscode-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
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
{
// fileFormat
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[typescriptreact]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[vue]": {
"editor.defaultFormatter": "Vue.volar"
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[nginx]": {
"editor.defaultFormatter": "ahmadalli.vscode-nginx-conf"
},
"[javascriptreact]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[less]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.suggestSelection": "first",
"editor.acceptSuggestionOnEnter": "off",
"editor.quickSuggestions": {
"strings": true
},
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always"
},
"editor.tabSize": 2,
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": "active",
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.fontFamily": "'UbuntuSansMono Nerd Font Semibold', 'Sarasa Term SC Semibold'",
"editor.fontWeight": 600,
"editor.fontSize": 16,
"editor.fontLigatures": true,
"editor.stickyScroll.enabled": true,
// js & ts
"typescript.updateImportsOnFileMove.enabled": "always",
"javascript.format.insertSpaceBeforeFunctionParenthesis": false,
"javascript.format.insertSpaceAfterConstructor": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"javascript.format.enable": true,
// eslint
"eslint.codeAction.showDocumentation": {
"enable": true
},
"eslint.validate": [
"javascript",
"vue",
"html"
],
// terminal
"terminal.integrated.defaultProfile.windows": "PowerShell",
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"args": [],
"icon": "terminal-cmd"
},
"Git Bash": {
"source": "Git Bash"
},
"Windows PowerShell": {
"path": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
}
},
// background
// 是否开启背景图显示
"background.enabled": true,
// 自定义显示的图片,【路径要用双引号】
"background.customImages": [
// 最多设置三张图片,默认显示最上方的图片,当打开多个侧边栏时再依次显示后面的背景图片
"https://hbimg.huaban.com/4c29d2c05ca1ea98d002befbbc1f8dc5d6119069583ad-HlxC5h"
],
"background.useFront": false,
// 默认透明度是100%,看起来生硬,不够炫酷
"background.style": {
// 编辑器显示文字,默认在左上角
// "content": "'HELLO WORLD'",
"pointer-events": "none",
// 以下都是CSS显示样式设置
"position": "absolute",
"bottom": "0",
"right": "0",
// "width": "100%",
// "height": "100%",
// "z-index": "99999",
// "background.repeat": "no-repeat",
// "background-size": "cover",
// 设置透明度
"opacity": 0.2,
},
// spell
"cSpell.userWords": [
"camelcase",
"cascader",
"codegen",
"commitlint",
"echarts",
"iconfont",
"iife",
"leetcode",
"nums",
"nuxt",
"pnpm",
"tiptap",
"typecheck",
"unocss",
"vnode",
"vuetify",
"vueuse",
"wechat"
],
// prettier
"prettier.singleQuote": true,
"prettier.semi": false,
"prettier.jsxSingleQuote": true,
// debug
"debug.showBreakpointsInOverviewRuler": true,
// files
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
// git
"git.confirmSync": false,
"git.enableSmartCommit": true,
"workbench.iconTheme": "material-icon-theme",
"workbench.editorAssociations": {
"*.ipynb": "default",
"*.html": "default"
},
"workbench.colorCustomizations": {
"minimap.background": "#00000000",
"minimap.foregroundOpacity": "#000000c0",
"editor.background": "#1d1d1d",
"sideBar.background": "#1d1d1d",
"tab.inactiveBackground": "#1d1d1d",
"tab.activeBorder": "#1d1d1d",
"tab.hoverBackground": "#333",
"tab.activeBackground": "#333",
"activityBar.background": "#1d1d1d", // 侧边栏
"editorWidget.background": "#1d1d1d33",
"menu.background": "#00000000",
"toolbar.hoverBackground": "#444",
"widget.shadow": "#666",
"scrollbar.shadow": "#666",
"scrollbarSlider.background": "#33333366",
"editorStickyScroll.background": "#33333333",
"editorStickyScroll.shadow": "#66666666",
"list.activeSelectionBackground": "#333",
"list.inactiveSelectionBackground": "#333",
"input.background": "#222",
"editorGroupHeader.tabsBackground": "#222",
"notifications.background": "#00000000",
"settings.rowHoverBackground": "#333",
},
"workbench.activityBar.location": "default",
"workbench.activityBar.iconClickBehavior": "focus",
// leetcode
"leetcode.endpoint": "leetcode-cn",
"leetcode.workspaceFolder": "/home/lzy/Desktop/project/leetcode-topic/leetcode",
// wechat
"files.associations": {
"*.cjson": "jsonc",
"*.wxss": "css",
"*.wxs": "javascript"
},
"emmet.includeLanguages": {
"wxml": "html"
},
// rust
"rust-analyzer.inlayHints.typeHints.enable": true,
"rust-analyzer.inlayHints.renderColons": true,
"rust-analyzer.inlayHints.parameterHints.enable": true,
"rust-analyzer.inlayHints.closingBraceHints.enable": true,
"html.format.indentHandlebars": true,
"editor.cursorBlinking": "expand",
"gitlens.plusFeatures.enabled": false,
"[python]": {
"editor.formatOnType": true
},
"leetcode.defaultLanguage": "typescript",
"leetcode.useWsl": true,
"leetcode.filePath": {
"default": {
"folder": "",
"filename": "${id}.${kebab-case-name}.${ext}"
}
},
"leetcode.hint.configWebviewMarkdown": false,
"remote.SSH.configFile": "C:\\Users\\lzy\\.ssh\\config",
"remote.SSH.remotePlatform": {
"43.143.53.107": "linux"
},
"editor.renderLineHighlight": "all",
"workbench.colorTheme": "Mariana Pro (Gray)",
"search.followSymlinks": false,
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.fontWeight": "bold",
"terminal.integrated.fontSize": 16,
"terminal.integrated.gpuAcceleration": "off",
"terminal.external.linuxExec": "zsh",
"[dockercompose]": {
"editor.defaultFormatter": "ms-azuretools.vscode-docker"
},
"codeium.enableConfig": {
"*": true,
"markdown": true
},
"editor.unicodeHighlight.nonBasicASCII": false,
"explorer.confirmDragAndDrop": false,
"markdown-preview-enhanced.codeBlockTheme": "auto.css",
"remote.autoForwardPorts": false,
"remote.autoForwardPortsSource": "hybrid",
"workbench.tree.enableStickyScroll": true,
"window.titleBarStyle": "custom",
"gitlens.views.commitDetails.files.layout": "list",
"gitlens.ai.experimental.provider": "openai",
"gitlens.ai.experimental.openai.model": "gpt-4-turbo-preview",
"editor.inlineSuggest.showToolbar": "onHover",
"diffEditor.ignoreTrimWhitespace": false,
"editor.dragAndDrop": false,
// 用于解决 wsl 中 node 进程内存占用过高的问题
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/node_modules/**": true,
},
"redhat.telemetry.enabled": true,
"apc.font.family": "UbuntuSans Nerd Font Semibold', 'Sarasa Term SC Semibold",
"apc.monospace.font.family": "UbuntuSansMono Nerd Font Semibold",
// https://github.com/drcika/apc-extension/issues/103#issuecomment-1905436739
"apc.imports": [
"${userHome}/.vscode/userscripts.js",
"${userHome}/.vscode/userstyles.css",
],
"apc.statusBar": {
"position": "editor-bottom",
},
"editor.cursorSmoothCaretAnimation": "on",
"terminal.integrated.smoothScrolling": true,
}