Skip to content

VSCode

why

保存自己的 vscode 配置,便于在不同机器上快速打造顺手的 vscode。

how

  • 记录喜欢的主题
  • 记录喜欢的插件
  • settings.json 中,选择顺手的配置并保存

what

○ 主题

选择标准:

  • 尽量避免过多配色,避免眼花缭乱没有重点
  • 颜色柔和,减少刺眼
  • 配色和谐,减少抵触
  • 选中区域、搜索高亮的颜色也很重要

浅色:

  • Better Solarized + 关键字加粗。主题集里面的 Better Selenized Light 更加
  • Vitesse Theme - Vitesse Light Soft
  • Moegi Theme - Moegi Light,灰色调浅色,推荐

深色(lakshitsomani.best-themes-redefined):

  • Best Themes - Nord Cold
  • Best Themes - Calm Darkvenom
  • Best Themes - Darcula
  • Best Themes - Slime,确实不错
  • Best Themes - Tomorrow Night Minimal
  • Best Themes - Catppuccin

○ 图标

  • chadalen.vscode-jetbrains-icon-theme,耐看

○ 插件

dendron.dendron-paste-image:

  • 从剪切板粘贴图片,保存到自定义路径
  • linux Wayland 中,需配合 wl-clipboard 使用

○ 字体

无缩放时,配合 15 字体大小还不错:

○ settings.json

jsonc
{
  "editor.tabSize": 2,
  "terminal.integrated.enablePersistentSessions": false,
  "editor.tokenColorCustomizations": {
    "textMateRules": [
      { "scope": "strong", "settings": { "fontStyle": "bold" } },
      { "scope": "constant.language", "settings": { "fontStyle": "bold" } },
      { "scope": "storage.type", "settings": { "fontStyle": "bold" } },
      { "scope": "storage.modifier", "settings": { "fontStyle": "bold" } },
      { "scope": "keyword", "settings": { "fontStyle": "bold" } },
      { "scope": "keyword.control", "settings": { "fontStyle": "bold" } },
      { "scope": "variable.language", "settings": { "fontStyle": "bold" } }
    ]
  },
  // 自带 gitblame
  "git.blame.editorDecoration.enabled": true,
  // 文件树的缩进距离
  "workbench.tree.indent": 12,
}
访问量 PV:Blocked用户数 UV:Blocked