Skip to content

推荐配置

json
{
  // 全局字体
  "editor.fontFamily": "Consolas, 'Courier New', '等线'",
  // 显示空白字符
  "editor.renderWhitespace": "all",
  // 启用括号对
  "editor.guides.bracketPairs": true,
  // 启用内联建议
  "editor.inlineSuggest.enabled": true,
  // 图标主题
  "workbench.iconTheme": "material-icon-theme",
  // 控制终端聚焦时终端光标的样式
  "terminal.integrated.cursorStyle": "line",
  // Windows 上的默认终端
  "terminal.integrated.defaultProfile.windows": "Command Prompt",
  // 未突出显示在允许区域设置中常见的 Unicode 字符
  "editor.unicodeHighlight.allowedLocales": {
    "zh-hans": true,
    "zh-hant": true
  },
  // 控制编辑器是否已启用链接编辑,相关符号(如 HTML 标记)将在编辑时进行更新
  "editor.linkedEditing": true,
  // 控制空编辑器文本提示是否应在编辑器中可见
  "workbench.editor.empty.hint": "hidden",
  // 将命令启动器与窗口标题一起显示
  "window.commandCenter": false,
  // 控制是否突出显示可能与基本 ASCII 字符混淆的字符
  "editor.unicodeHighlight.ambiguousCharacters": true
}