vscode settings.json

发布时间 2023-12-12 21:11:07作者: h5lianfu
{
  "workbench.startupEditor": "none",
  "workbench.iconTheme": "vscode-icons",
  "workbench.colorTheme": "Dracula",
  "window.title": "${rootName}${separator}${profileName}",
  "editor.fontFamily": "'Droid Sans Mono', 'PingFang SC'",
  "editor.tabSize": 2,
  "editor.fontSize": 14,
  "editor.fontWeight": 400,
  "editor.fontLigatures": true,
  "editor.cursorBlinking": "solid",
  "editor.cursorStyle": "block",
  "files.autoGuessEncoding": false,
  "editor.scrollBeyondLastLine": false,
  "editor.rulers": [100],
  "editor.letterSpacing": 0.1,
  "editor.lineHeight": 1.3,
  // 代码提示延迟 1s
  "editor.quickSuggestionsDelay": 1000,
  // 显示所有空格
  "editor.renderWhitespace": "all",
  // hover 提示延迟500ms
  "editor.hover.delay": 500,
  // "window.menuBarVisibility": "hidden",
  // "workbench.editor.untitled.hint": "hidden",

  "files.exclude": {
    "**/.git": true,
    "**/.svn": true,
    "**/.hg": true,
    "**/CVS": true,
    "**/.DS_Store": true,
    "**/Thumbs.db": true,
    "**/node_modules": true,
    ".eslintcache": true,
  },

  "search.exclude": {
    "**/node_modules": true,
    "**/bower_components": true,
    "**/*.code-search": true,
    "**/.git": true,
    "**/pnpm-lock.yaml": true,
    "**/Cargo.lock": true,
    ".eslintcache": true,
  },

  "editor.tokenColorCustomizations": {
    // 注释字体颜色
    "comments": "#b388ff",
  },
  "workbench.colorCustomizations": {
    "editorCursor.foreground": "#F72E96",
    // 高亮当前行背景色
    // 浅色背景
    // "editor.lineHighlightBackground": "#E3F2FD",
    // "editor.lineHighlightBorder": "#E3F2FD",
    // 深色背景
    "editor.lineHighlightBackground": "#094771",
    "editor.lineHighlightBorder": "#094771",
    // 行数区域字体颜色
    "editorLineNumber.foreground": "#43a047",
  },
  "editor.linkedEditing": true,
  "explorer.confirmDelete": false,
  "nxConsole.showNodeVersionOnStartup": false,
}