imtaotao / Blogs

my blogs
5 stars 0 forks source link

vscode 主题改造 #5

Open imtaotao opened 2 years ago

imtaotao commented 2 years ago
{
  // Visuals
  "workbench.colorTheme": "Monokai Pro (Filter Machine)", // 插件市场安装
  "workbench.iconTheme": "file-icons",  // 插件市场安装
  "workbench.sideBar.location": "right",
  "workbench.editor.tabCloseButton": "left",
  "workbench.editor.highlightModifiedTabs": true,
  "workbench.activityBar.visible": true,

  // terminal
  "terminal.integrated.cursorBlinking": true,
  "terminal.integrated.cursorStyle": "line",
  "terminal.integrated.fontWeight": "300",
  "terminal.integrated.persistentSessionReviveProcess": "never",

  // Editor
  "editor.tabSize": 2,
  "editor.lineNumbers": "interval",
  "editor.guides.bracketPairs": "active",
  "editor.cursorSmoothCaretAnimation": true,
  "editor.renderWhitespace": "boundary",
  "editor.unicodeHighlight.invisibleCharacters": false,

  // 仅在 mac 下使用
  "editor.fontSize": 13,
  "editor.fontFamily": "Monaco, 'Courier New', monospace",
  "editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss06', 'zero'"
}
imtaotao commented 2 years ago

在项目中,新建一个 .vscode/settings.json,然后将这段 json 粘贴进去就可以了。如果不适应导航栏在右边,可以将 workbench.sideBar.location 换回 left