{
"version": "0.1.0",
"command": "gvedit",
"isShellCommand": true,
"args": ["${file}"],
"showOutput": "never"
}
[
{ "key": "ctrl+=", "command":"editor.action.moveSelectionToNextFindMatch","when":"editorFocus" },
{ "key": "ctrl+-", "command": "editor.action.moveSelectionToPreviousFindMatch","when": "editorFocus" },
{ "key": "alt+l", "command": "editor.action.transformToLowercase" },
{ "key": "alt+u", "command": "editor.action.transformToUppercase"},
{ "key": "alt+e", "command": "workbench.view.explorer" },
{ "key": "alt+f", "command": "workbench.view.search"},
{ "key": "ctrl+pagedown", "command": "workbench.action.nextEditor" },
{ "key": "ctrl+pageup", "command": "workbench.action.previousEditor" },
{ "key": "alt+left", "command": "workbench.action.navigateBack" },
{ "key": "alt+right", "command": "workbench.action.navigateForward" },
{
"key": "alt+g",
"command": "workbench.action.tasks.runTask",
"args": "gvedit"
},
{
"key": "ctrl+shift+enter",
"command": "editor.action.insertLineBefore",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+enter",
"command": "-editor.action.insertLineBefore",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+enter",
"command": "editor.action.insertLineAfter",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+enter",
"command": "-editor.action.insertLineAfter",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+l",
"command": "bookmarks.jumpToNext",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+l",
"command": "-bookmarks.jumpToNext",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+j",
"command": "bookmarks.jumpToPrevious",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+j",
"command": "-bookmarks.jumpToPrevious",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+k",
"command": "bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+k",
"command": "-bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+o",
"command": "bookmarks.clear"
},
{
"key": "ctrl+shift+alt+o",
"command": "bookmarks.clearFromAllFiles"
},
{
"key": "ctrl+alt+i",
"command": "bookmarks.list"
},
{
"key": "ctrl+shift+alt+i",
"command": "bookmarks.listFromAllFiles"
}
]
// 將設置放入此文件中以覆蓋默認設置
{
// 控制是否顯示 minimap
"editor.minimap.enabled": false,
"[cpp]": {
"editor.quickSuggestions": false
},
"[c]": {
"editor.quickSuggestions": false
},
// 以像素為單位控制字號。
"editor.fontSize": 14,
// 通過使用鼠標滾輪同時按住 Ctrl 可縮放編輯器的字體
"editor.mouseWheelZoom": true,
// 調整窗口的縮放級別。原始大小是 0,每次遞增(例如 1)或遞減(例如 -1)表示放大或縮小 20%。也可以輸入小數以便以更精細的粒度調整縮放級別。
"window.zoomLevel": 2,
// 控制光標樣式,接受的值為 "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": "off",
// 在 "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": {
"*.txt": "cmake"
},
// 讀取和編寫文件時將使用的默認字符集編碼。
"files.encoding": "utf8",
// When enabled, will attempt to guess the character set encoding when opening files
"files.autoGuessEncoding": true,
// 默認行尾字符。
"files.eol": "\r\n",
"workbench.colorTheme": "Monokai",
"workbench.colorCustomizations": {
"contrastActiveBorder": "#c0c0c0",
"contrastBorder": "#aaaaa0",
"focusBorder": "#ffd800",
"widget.shadow": "#f2f3f4",
"scrollbarSlider.background": "#414a4c",
"scrollbarSlider.activeBackground": "#ecd540",
"scrollbarSlider.hoverBackground": "#ffba00",
"foreground": "#f0ead6",
"sideBar.background": "#282a31",
"button.background": "#708090",
"button.foreground": "#282a31",
"button.hoverBackground": "#808080",
"input.foreground": "#a7fc00",
"editorCursor.foreground": "#7fff00",
"editor.findMatchBackground": "#f94d00",
"editor.findMatchHighlightBackground": "#f94d00",
"editor.foreground": "#f0ead6",
"editor.background": "#282a36",
"editor.selectionBackground": "#69359c",
"editor.selectionHighlightBackground": "#282a36",
"editor.inactiveSelectionBackground": "#282a36",
"editor.wordHighlightBackground": "#282a36",
"editor.wordHighlightStrongBackground": "#282a36",
"editor.hoverHighlightBackground": "#0f0f0f",
"editor.lineHighlightBackground": "#282a36",
"editor.lineHighlightBorder": "#414a4c",
"editorLineNumber.foreground": "#40404f",
"tab.activeBackground": "#4f4f50",
"tab.border": "#e0e0e0",
"tab.inactiveForeground": "#e0e0e0",
"activityBar.foreground": "#c0c0c0",
"statusBar.background": "#6f6f6f",
"statusBarItem.activeBackground": "#ff0000",
"statusBarItem.hoverBackground": "#06905f"
},
"workbench.iconTheme": "vscode-icons",
"csharp.suppressDotnetRestoreNotification": true,
"editor.renderWhitespace": "all",
"editor.renderControlCharacters": true,
"editor.renderIndentGuides": false,
"vsicons.dontShowNewVersionMessage": true,
"ActiveFileInStatusBar.revealFile": true,
"update.channel": "none",
"extensions.ignoreRecommendations": true,
"extensions.autoUpdate": false,
"bookmarks.navigateThroughAllFiles": true,
"bookmarks.saveBookmarksInProject": false,
"terminal.integrated.shell.windows": "C:\\Program Files\\PowerShell\\6.0.0-beta.7\\powershell.exe",
"terminal.external.windowsExec": "C:\\Program Files\\PowerShell\\6.0.0-beta.7\\powershell.exe",
"powershell.powerShellExePath": "C:/Program Files/PowerShell/6.0.0-beta.7/powershell.exe"
}