Sub: Update vscode config

Body:

==== End ====
This commit is contained in:
Shockwave 2023-11-25 10:56:49 +08:00
parent b46a127d97
commit 6c0cf4d248
3 changed files with 30 additions and 10 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
{ {
"editor.fontFamily": "Menlo, Monaco, 'Hack NF', 'MesloLGL NF', monospace", "editor.fontFamily": "'Hack', 'Hack Nerd Font Mono', Menlo, Monaco, 'MesloLGL NF', monospace",
"editor.fontSize": 14, "editor.fontSize": 14,
"editor.wordWrap": "on", "editor.wordWrap": "on",
"editor.wordWrapColumn": 120, "editor.wordWrapColumn": 120,
@ -9,6 +9,7 @@
"editor.lineNumbers": "relative", "editor.lineNumbers": "relative",
"editor.bracketPairColorization.enabled": true, "editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": "active", "editor.guides.bracketPairs": "active",
"editor.occurrencesHighlight": true,
"settings.cycle": [ "settings.cycle": [
{ {
"id": "relativeLineNumbers", "id": "relativeLineNumbers",
@ -57,7 +58,7 @@
// "vim.easymotionMarkerForegroundColorTwoChar": "#F4F917", // "vim.easymotionMarkerForegroundColorTwoChar": "#F4F917",
// "vim.easymotionMarkerFontFamily": "Monaco, Menlo, monospace", // "vim.easymotionMarkerFontFamily": "Monaco, Menlo, monospace",
"vim.surround": true, "vim.surround": true,
"editor.tabSize": 2, "editor.tabSize": 4,
"[markdown]": { "[markdown]": {
"editor.defaultFormatter": "yzhang.markdown-all-in-one", "editor.defaultFormatter": "yzhang.markdown-all-in-one",
"editor.tabSize": 2 "editor.tabSize": 2
@ -82,8 +83,9 @@
// //
"editorCursor.foreground": "#e9e6e6" "editorCursor.foreground": "#e9e6e6"
}, },
"extensions.ignoreRecommendations": false, "extensions.ignoreRecommendations": true,
"files.associations": { "files.associations": {
"*.def": "cpp",
"*.cjson": "jsonc", "*.cjson": "jsonc",
"*.wxss": "css", "*.wxss": "css",
"*.wxs": "javascript" "*.wxs": "javascript"
@ -100,7 +102,8 @@
"**/.factorypath": true, "**/.factorypath": true,
"**/.project": true, "**/.project": true,
"**/.settings": true, "**/.settings": true,
"**/*.swp": true "**/*.swp": true,
"**/*.o": true,
}, },
"python.jediEnabled": false, "python.jediEnabled": false,
"files.autoSave": "afterDelay", "files.autoSave": "afterDelay",
@ -126,10 +129,11 @@
"args": ["--nologo"] "args": ["--nologo"]
} }
}, },
"terminal.integrated.fontFamily": "'Hack', 'MesloLGL Nerd Font', 'Cascadia Code PL'", "terminal.integrated.fontFamily": "'Hack', 'Hack Nerd Font Mono', 'MesloLGL Nerd Font', 'Cascadia Code PL'",
"files.watcherExclude": { "files.watcherExclude": {
"**/__pycache__": true, "**/__pycache__": true,
"**/node_modules": true, "**/node_modules": true,
"**/*.o": true,
}, },
"workbench.settings.editor": "ui", "workbench.settings.editor": "ui",
"workbench.iconTheme": "material-icon-theme", "workbench.iconTheme": "material-icon-theme",
@ -156,7 +160,6 @@
"Vimium", "Vimium",
"Vomnibar" "Vomnibar"
], ],
"workbench.activityBar.visible": true,
"explorer.confirmDelete": false, "explorer.confirmDelete": false,
"C_Cpp.clang_format_sortIncludes": true, "C_Cpp.clang_format_sortIncludes": true,
"terminal.integrated.copyOnSelection": true, "terminal.integrated.copyOnSelection": true,
@ -315,13 +318,30 @@
}, },
"editor.scrollbar.vertical": "hidden", "editor.scrollbar.vertical": "hidden",
"terminal.integrated.detectLocale": "off", "terminal.integrated.detectLocale": "off",
"editor.codeLensFontFamily": "Menlo, Monaco, 'Hack NF', 'MesloLGL NF', monospace", "editor.codeLensFontFamily": "'Hack', 'Hack Nerd Font Mono', Menlo, Monaco, 'Hack NF', 'MesloLGL NF', monospace",
"editor.inlayHints.fontFamily": "Menlo, Monaco, 'Hack NF', 'MesloLGL NF', monospace", "editor.inlayHints.fontFamily": "'Hack Nerd Font Mono', Menlo, Monaco, 'Hack NF', 'MesloLGL NF', monospace",
"C_Cpp.files.exclude": { "C_Cpp.files.exclude": {
"**/.idea": true, "**/.idea": true,
"**/.vscode": true, "**/.vscode": true,
"**/.vs": true "**/.vs": true
}, },
"redhat.telemetry.enabled": false,
"C_Cpp.default.compilerPath": "",
"diffEditor.ignoreTrimWhitespace": false,
"window.commandCenter": false,
"C_Cpp.autocompleteAddParentheses": true,
"C_Cpp.default.cppStandard": "c++11",
"C_Cpp.default.cStandard": "c99",
"C_Cpp.workspaceParsingPriority": "medium",
"workbench.editor.empty.hint": "hidden",
"vim.cursorStylePerMode.insert": "line",
"vim.cursorStylePerMode.normal": "block",
"vim.cursorStylePerMode.replace": "underline",
"vim.handleKeys": {
"<C-d>": true,
"<C-s>": false,
"<C-z>": false
},
// "[latex]": { // "[latex]": {
// "editor.defaultFormatter": "James-Yu.latex-workshop" // "editor.defaultFormatter": "James-Yu.latex-workshop"
// } // }