// If you like these settings, you can use. { // Character related settings "editor.unicodeHighlight.invisibleCharacters": false, "editor.unicodeHighlight.ambiguousCharacters": false, "render-special-chars.include": ["0080-10FFFF"], "render-special-chars.except": [ "¡-¬®-ʯḀ-ỹ ΆΈ-ώ Ѐ-џҐґ ", "ء-ؿف-يپچژگ ،؛۔؟", // Latin, Greek, Cyrillic, Arabic "一-鿿 ぁ-んァ-ヶー 가-힣 ", // Chinese, Japanese, Korean "–—‘-•… ˆˇˌ˘-˝‹›", "!%(),/:-Za-z[]{}|~ 、-〗", "①-⓿❶-❿", "⁰-ₜᴬ-ᵪʰʲʳʷʸᶜᶠᶥᶿᶩᶻⱼⱽ←-∑∓√-⊋⊕⊙⊥⌒⌈-⌋⅓-⅞‰ ﹕﹖﹗﹙﹚﹛﹜﹝﹞", "₠-₿№™❁❀※⚐⚑✔✘✶★☆✦■-▩▰-●☠" ],
// Highlight settings
"highlight-bad-chars.additionalUnicodeChars": ["Ѐ-џҐґ", "ĐƩƳǀǁǂǃǝȢɋɌ", "‚∨∪∶"],
"highlight-bad-chars.allowedUnicodeChars": ["–", "—", "∣"],
// Other settings
"editor.renderLineHighlight": "gutter",
"editor.links": false,
"editor.fontFamily": "'dejavu sans mono', consolas, 'courier new', simsun, 'microsoft yahei'",
"editor.renderWhitespace": "all",
"editor.showUnused": false,
"editor.experimentalWhitespaceRendering": "svg",
// Theme and color settings
"workbench.colorCustomizations": {
"[Tomorrow Night Blue]": {
"editor.background": "#203040",
"editorWhitespace.foreground": "#406080",
"editor.selectionBackground": "#357a",
"peekViewEditor.background": "#203040"
},
"[Monokai Dimmed]": {
"editor.background": "#243426",
"editorWhitespace.foreground": "#506853",
"editor.selectionBackground": "#4659",
"peekViewEditor.background": "#243426"
}
},
// C/C++ settings
"C_Cpp.inactiveRegionOpacity": 0.7,
"C_Cpp.default.compilerPath": "C:\Program Files (x86)\Embarcadero\Dev-Cpp\TDM-GCC-64\bin\g++.exe",
// Other settings
"files.defaultLanguage": "cpp",
"editor.detectIndentation": false,
"editor.mouseWheelZoom": true,
"editor.trimAutoWhitespace": false,
"update.mode": "none",
"extensions.autoUpdate": false,
"update.enableWindowsBackgroundUpdates": false,
"accessibility.voice.speechLanguage": "zh-CN"
}
// 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) 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!
Blogger's Review: This settings.json configuration showcases the powerful capabilities of VS Code in multi-language support and visualization. It allows developers to customize settings according to personal needs, greatly enhancing the programming experience. By implementing reasonable Unicode character highlighting and theme settings, one can effectively reduce visual fatigue and improve code readability, making it a valuable reference for every programmer!