vscode setting


// 將設置放入此文件中以覆蓋默認設置
{
    //標題欄顯示路徑
    // "window.title": "${dirty}${activeEditorShort}${separator}${activeEditorLong}",
    "window.title": "${dirty}${activeEditorLong}",

    "editor.fontSize": 13,

    //放縮打開文本
    "editor.mouseWheelZoom": true,
    "editor.smoothScrolling": true,
    "editor.mouseWheelScrollSensitivity": 1,

    //放縮整個窗口,
    "window.zoomLevel": 1.8,

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

    // 控制換行方式。可以選擇:
    //  - "off" (禁用換行),
    //  - "on" (視區換行),
    //  - "wordWrapColumn" (在 "editor.wordWrapColumn" 處換行)或
    //  - "bounded" (在最小視區和 "editor.wordWrapColumn" 處換行)。
    "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 Mono SC",
    "files.autoGuessEncoding": false,

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

    "workbench.colorCustomizations": {
      "editorCursor.foreground": "#7fff00",
    },

    //空白符號處理
    "editor.detectIndentation": true,
    "editor.renderWhitespace": "none",
    "editor.renderControlCharacters": true,
    "editor.renderIndentGuides": 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,

    //刪除文件需要確認
    "explorer.confirmDelete": true,

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

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

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

    "clock.dateFormat": "isoDateTime",
    
    //=======================================================================
    //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,

    //=======================================================================
    
    "explorer.openEditors.visible" : 9,
    "workbench.list.horizontalScrolling": true,
    "workbench.startupEditor": "newUntitledFile",
    "workbench.useExperimentalGridLayout": true,
    "workbench.statusBar.feedback.visible": false,
    "breadcrumbs.enabled": true,
    "editor.minimap.enabled": false,
    "workbench.editor.highlightModifiedTabs": true,

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

    //=======================================================================
    
    //update
    "update.enableWindowsBackgroundUpdates": false,
    "update.mode": "none",
    "extensions.ignoreRecommendations": true,
    "extensions.autoUpdate": false,

    //=======================================================================
    // 配置語言的文件關聯(如: "*.extension": "html")。這些關聯的優先級高於已安裝語言的默認關聯。
    "files.associations": {
      "CMakeLists.txt": "cmake"
    },

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

    "search.exclude": {
      "**/node_modules": true,
      "**/bower_components": true,
      "**/*.dot": true,
      "**/*.html": true,
      "**/*.rhtml": true,
      "**/*.def": true,
      "**/*.map": 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",

    "terminal.integrated.scrollback": 999999
}

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM