1. 程式人生 > >Config

Config

覆蓋 是否 code 像素 讀取 鼠標 mat font eba

settings.json

// 以像素為單位控制字號。
"editor.fontSize": 14,

// 通過使用鼠標滾輪同時按住 Ctrl 可縮放編輯器的字體
"editor.mouseWheelZoom": true,

// 調整窗口的縮放級別。原始大小是 0,每次遞增(例如 1)或遞減(例如 -1)表示放大或縮小 20%。也可以輸入小數以便以更精細的粒度調整縮放級別。
"window.zoomLevel": 2,

// 控制是否顯示 minimap
"editor.minimap.enabled": false,

// 控制光標樣式,接受的值為 "block"、"block-outline"、"line"、"line-thin" 、"underline" 和 "underline-thin"
"editor.cursorStyle": "block", // 控制光標動畫樣式,可能的值為 "blink"、"smooth"、"phase"、"expand" 和 "solid" "editor.cursorBlinking": "expand", // 控制換行方式。可以選擇: // - "off" (禁用換行), // - "on" (視區換行), // - "wordWrapColumn" (在 "editor.wordWrapColumn" 處換行)或 // - "bounded" (在最小視區和 "editor.wordWrapColumn" 處換行)。 "editor.wordWrap
": "on", // 在 "editor.wordWrap" 為 "wordWrapColumn" 或 "bounded" 時控制編輯器列的換行。 "editor.wordWrapColumn": 80, // 要對鼠標滾輪滾動事件的 "deltaX" 和 "deltaY" 使用的乘數 "editor.mouseWheelScrollSensitivity": 1, // 控制邊欄的位置。它可顯示在工作臺的左側或右側。 "workbench.sideBar.location": "left", // 控制是否應在新窗口中打開文件。 // - default: 文件將在該文件的文件夾打開的窗口中打開,或在上一個活動窗口中打開,除非該文件通過平臺或從查找程序(僅限 macOS)打開
// - on: 文件將在新窗口中打開 // - off: 文件將在該文件的文件夾打開的窗口中打開,或在上一個活動窗口中打開 // 註意,可能仍會存在忽略此設置的情況(例如當使用 -new-window 或 -reuse-window 命令行選項時)。 "window.openFilesInNewWindow": "on", // 配置語言的文件關聯(如: "*.extension": "html")。這些關聯的優先級高於已安裝語言的默認關聯。 "files.associations": {}, // 讀取和編寫文件時將使用的默認字符集編碼。 "files.encoding": "utf8", // When enabled, will attempt to guess the character set encoding when opening files "files.autoGuessEncoding": true, // 默認行尾字符。 "files.eol": "\r\n" keybindings.json // 將鍵綁定放入此文件中以覆蓋默認值 [ { "key": "ctrl+=", "command": "editor.action.moveSelectionToNextFindMatch", "when": "editorFocus" }, { "key": "ctrl+-", "command": "editor.action.moveSelectionToPreviousFindMatch", "when": "editorFocus" } ] dracula.json "editorCursor": "#00f800", "scope": "comment", "settings": { "foreground": "#6272a4"

Config