vscode settings.json new

Revision en1, by liusixun2025, 2026-05-25 17:25:34

{ //Character "editor.unicodeHighlight.invisibleCharacters": false, "editor.unicodeHighlight.ambiguousCharacters": false, "render-special-chars.include": ["0080-10FFFF"], "render-special-chars.except": [ "¡-¬®-ʯḀ-ỹ Ѐ-џҐґ ΆΈ-ώ", //Latin, Greek, Cyrillic "一-鿿 ぁ-んァ-ヶー 가-힣", //Chinese, Japanese, Korean "–—‘-•… ˆˇˌ˘-˝‹›", "!%(),:-Za-z[]{}|~ 、-〗", "①-⓿❶-❿", "⁰-ₜᴬ-ᵪʰʲʳʷʸᶜᶠᶥᶿᶩᶻⱼⱽ ←-∑∓√-∵∷-⊋⊕⊙⊥⌒⌈-⌋⅓-⅞‰ ﹕﹖﹗﹙﹚﹛﹜﹝﹞", "₠-₿№™❁❀※⚐⚑✔✘✶★☆✦✧▲△▶▷▼▽◀◁◆◇◉◎●◍☠", ], "highlight-bad-chars.additionalUnicodeChars": ["Ѐ-џҐґ", "ĐƩƳǀǁǂǃǝȢɋɌ", "⁻⁰", ], "highlight-bad-chars.allowedUnicodeChars": ["–"], "highlight-unexpected-characters.rules": ["ΆΈ-ώ", "–ᴼᵒ∁Ɖƴƿ", ], "highlight-bad-chars.badCharDecorationStyle": { "backgroundColor": "rgba(0,180,180,0.3)", "borderColor": "rgba(0,180,180,0.6)" },

//Scheme
"editor.renderLineHighlight": "gutter", "editor.links": false,
"editor.fontFamily": "'Cascadia Mono Light', consolas, simsun, 'dejavu sans mono', 'microsoft yahei'",
"editor.renderWhitespace": "all", "editor.showUnused": false,
"workbench.colorCustomizations": {
    "[Tomorrow Night]": {
        "editor.background": "#4a5f4b", "editorWhitespace.foreground": "#223327", "editor.selectionBackground": "#698a", 
        "editorBracketHighlight.foreground1": "#e0b0b3", "editorBracketHighlight.foreground2": "#d0c0e0",
        "editorBracketHighlight.foreground3": "#eb7", "editorBracketHighlight.foreground4": "#acd",
        "editorBracketHighlight.foreground5": "#cc7", "editorBracketHighlight.foreground6": "#9ca",
        "editorBracketHighlight.unexpectedBracket.foreground": "#e88", "editor.wordHighlightBackground": "#bbb2",
        "peekViewEditor.background": "#4a5f4b",
    },
},
"editor.tokenColorCustomizations": {
    "[Tomorrow Night]": {
        "types": "#e0b0b3", "numbers": "#eb7","comments": "#b0b0b0", "variables": "#e5e5e5", "keywords": "#9ca", 
        "strings": "#ac8", "functions": "#acd",
        "textMateRules": [
            {"scope": "variable.parameter", "settings": {"foreground": "#d0c0e0", } }, 
            {"scope": "constant.language", "settings": {"foreground": "#eb7", } },
            {"scope": "keyword.other", "settings": {"foreground": "#9ca", } }, 
            {"scope": "keyword.other.unit", "settings": {"foreground": "#eb7", } },
            {"scope": "entity.name.type.class", "settings": {"foreground": "#e0b0b3", } }, 
            {"scope": "constant.character", "settings": {"foreground": "#eb7", } }, 
            {"scope": "constant.other", "settings": {"foreground": "#d0c0e0", } }, 
            {"scope": "entity.name.function.preprocessor", "settings": {"foreground": "#cc8", } }, 
            {"scope": "keyword.operator", "settings": {"foreground": "#eb7", } }, 
            {"scope": "meta.block", "settings": {"foreground": "#f5f5f5", } }, 
            {"scope": "invalid.illegal", "settings": {"foreground": "#f5f5f5", } }, 
            {"scope": "meta.body.function.definition", "settings": {"foreground": "#f5f5f5", } }, 
            {"scope": "meta.preprocessor.macro", "settings": {"foreground": "#f5f5f5", } }, 
            {"scope": "punctuation.separator.delimiter", "settings": {"foreground": "#f5f5f5", } }, 
        ]
    },
},
"C_Cpp.inactiveRegionOpacity": 0.8, "workbench.colorTheme": "Tomorrow Night", 

//Other
"files.defaultLanguage": "cpp", "editor.detectIndentation": false,  
"editor.mouseWheelZoom": true, "editor.trimAutoWhitespace": false,
"update.mode": "none",  "extensions.autoUpdate": false,  "update.enableWindowsBackgroundUpdates": false,
"C_Cpp.default.compilerPath": "C:\\Program Files (x86)\\Embarcadero\\Dev-Cpp\\TDM-GCC-64\\bin\\g++.exe", //You should install Embarcadero Dev-C++.
"accessibility.voice.speechLanguage": "zh-CN", //You can modify this line, such as ‘"accessibility.voice.speechLanguage": "en-US"’.

} //Install Extensions: //(1) Render Special Characters (by miku3920) (2) Highlight Bad Chars (by Kevin Wenger) //(3) Highlight Unexpected Characters (by Gizeta) (4) C/C++ Extension Pack (by Microsoft) //(5) Insert Unicode (by brunnerh) (6) VS Code Speech (by Microsoft) //(7) Tomorrow and Tomorrow Night Theme Kit (by Microsoft) (8) xxxx Language Pack for Visual Studio Code (by Microsoft)

//If you are using VSCode and can optimize the current 'settings.json', please let us know!

Tags i like it, auto update, more language support, beautiful

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English liusixun2025 2026-05-25 17:37:18 50
en2 English liusixun2025 2026-05-25 17:25:49 14
en1 English liusixun2025 2026-05-25 17:25:34 4616 Initial revision (published)