{
    //标题栏显示路径
    "window.title": "${dirty}${activeEditorLong}",

    "editor.fontSize": 13,

    //放缩打开文本
    "editor.mouseWheelZoom": true,
    "editor.smoothScrolling": true,
    "editor.mouseWheelScrollSensitivity": 1,

    "editor.cursorStyle": "block",
    "editor.cursorBlinking": "expand",
    "editor.cursorSmoothCaretAnimation": true,

    "editor.wordWrap": "off",

    // 在 "editor.wordWrap" 为 "wordWrapColumn" 或 "bounded" 时控制编辑器列的换行。
    //"editor.wordWrapColumn": 180,

    // 控制边栏的位置。它可显示在工作台的左侧或右侧。
    "workbench.sideBar.location": "left",

    "window.openFilesInNewWindow": "on",

    // 读取和编写文件时将使用的默认字符集编码。
    "files.encoding": "utf8",

    // 默认行尾字符。
    "files.eol": "\n",

    "editor.fontFamily": "Sarasa Term SC",
    "files.autoGuessEncoding": false,

    "workbench.iconTheme": "vscode-icons",

    "workbench.colorCustomizations": {
      "editorCursor.foreground": "#7fff00",
      "tab.activeBorder": "#7fff00",
      "tab.border": "#6d6c6c",
      "tab.unfocusedActiveBorder": "#cca0e9"
    },

    //空白符号处理
    "editor.renderWhitespace": "none",
    "editor.renderControlCharacters": true,
    "editor.renderIndentGuides": false,
    "editor.detectIndentation": true,
    "editor.insertSpaces": true,
    "editor.tabSize": 4,
    "editor.trimAutoWhitespace": false,
    "editor.multiCursorModifier": "alt",
    "workbench.editor.showTabs": true,

    "files.trimFinalNewlines": false,
    "files.trimTrailingWhitespace": false,

    //bookmarks
    "bookmarks.navigateThroughAllFiles": true,
    "bookmarks.saveBookmarksInProject": false,

    //git
    "gitlens.advanced.messages": {
      "suppressCommitHasNoPreviousCommitWarning": false,
      "suppressCommitNotFoundWarning": false,
      "suppressFileNotUnderSourceControlWarning": false,
      "suppressGitVersionWarning": false,
      "suppressLineUncommittedWarning": false,
      "suppressNoRepositoryWarning": false,
      "suppressResultsExplorerNotice": false,
      "suppressShowKeyBindingsNotice": true
    },

    "editor.showFoldingControls": "always",
    "editor.folding": true,
    "editor.foldingStrategy": "indentation",

    "gitlens.views.repositories.files.layout": "tree",

    "java.errors.incompleteClasspath.severity": "ignore",

    "[cpp]": {"editor.quickSuggestions": false},
    "[c]": {"editor.quickSuggestions": false},

    //=======================================================================
    //terminal
    "terminal.integrated.fontSize": 13,
    "terminal.integrated.cursorBlinking": true,
    "terminal.integrated.cursorStyle": "block",
    "terminal.integrated.copyOnSelection": true,
    "terminal.integrated.rightClickBehavior":"selectWord",
    "terminal.integrated.scrollback":999999,
    "terminal.integrated.defaultLocation":"editor",

    //=======================================================================

    "explorer.openEditors.visible" : 0,
    "workbench.list.horizontalScrolling": true,
    "workbench.startupEditor": "newUntitledFile",
    "breadcrumbs.enabled": true,
    "editor.minimap.enabled": false,
    "workbench.editor.highlightModifiedTabs": true,

    "search.showLineNumbers": true,
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",

    //=======================================================================
    // 配置语言的文件关联(如: "*.extension": "html")。这些关联的优先级高于已安装语言的默认关联。
    "files.associations": {
      "*.txt": "cmake"
    },

    "files.exclude": {
      "**/.git": true,
      "**/.classpath": true,
      "**/.project": true,
      "**/.settings": true,
      "**/.factorypath": true
    },

    "search.exclude": {
      // "**/node_modules": true,
      // "**/bower_components": true
    },
    "projectManager.any.maxDepthRecursion": 9,
    "projectManager.git.maxDepthRecursion": 9,
    "projectManager.groupList": true,
    "projectManager.vscode.maxDepthRecursion": 9,
    "projectManager.cacheProjectsBetweenSessions": false,

    "vsicons.dontShowNewVersionMessage": true,
    // "markdown-pdf.executablePath": "/snap/bin/chromium",

    //=======================================================================
    //latex workshop
    "latex-workshop.latex.autoBuild.cleanAndRetry.enabled": false,
    "latex-workshop.message.update.show": false,
    "latex-workshop.latex.autoBuild.run": "never",

    "editor.rulers": [
      {
        "column": 80,
        "color": "#333333"
      },
      {
        "column": 100,
        "color": "#444444"
      },
      {
        "column": 120,
        "color": "#555555"
      },
     {
        "column": 140,
        "color": "#777777"
      }
    ],

    "terminal.integrated.shell.windows": "C:\\Program Files\\PowerShell\\7\\pwsh.exe",

    //=======================================================================

    //update
    "update.enableWindowsBackgroundUpdates": false,
    "update.mode": "none",
    "extensions.ignoreRecommendations": true,
    "extensions.autoUpdate": false,
    "telemetry.enableCrashReporter": false,
    "telemetry.enableTelemetry": false,
    "cmake.configureOnOpen": false,
    "powershell.promptToUpdatePowerShell": false,
    "workbench.editorAssociations": {
      "*.ipynb": "jupyter-notebook"
    },
    "latex-utilities.message.update.show": false,
    "editor.autoIndent": "none",
    "latex-workshop.view.pdf.viewer": "tab",
    "[javascript]": {
      "editor.defaultFormatter": "numso.prettier-standard-vscode"
    },
    "go.toolsManagement.checkForUpdates": "off",
    "search.useIgnoreFiles": false,
    "redhat.telemetry.enabled": false,
    "files.autoSave": "afterDelay",
    "eslint.format.enable": true,
    "editor.codeActionsOnSave": {
            "source.fixAll": true
        },
    "tabnine.experimentalAutoImports": true,
    "explorer.openEditors.sortOrder": "alphabetical",
    "search.maxResults": null,
    "extensions.autoCheckUpdates": false,
    "files.autoSaveDelay": 20000,
    "javascript.updateImportsOnFileMove.enabled": "always",
    "notebook.cellToolbarLocation": {
      "default": "right",
      "jupyter-notebook": "left"
    },
    "[java]": {
      "editor.defaultFormatter": "redhat.java"
    },
    "security.workspace.trust.untrustedFiles": "open",
    "C_Cpp.intelliSenseEngine": "Disabled",
    "diffEditor.ignoreTrimWhitespace": false,
    "clangd.path": "bin\\clangd.exe",
    "clangd.arguments": [
      "-header-insertion=never"
    ],
}

相关文章:

  • 2021-08-10
  • 2021-06-28
  • 2021-05-16
  • 2022-12-23
  • 2021-05-23
  • 2021-09-23
  • 2021-12-29
  • 2021-10-12
猜你喜欢
  • 2022-12-23
  • 2021-12-30
  • 2021-10-30
  • 2021-06-14
  • 2021-11-12
  • 2021-12-23
  • 2021-12-22
相关资源
相似解决方案