Customize settings
Keyboard Settings Via JSON
Open the command palette and find Preferences: Open keyboard shortcuts (JSON) and paste the following:
Switch focus between terminal and editor
Ctrl + `
{
"key": "ctrl+`",
"command": "workbench.action.terminal.focus"
},
{
"key": "ctrl+`",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
}
Adjust font size on terminal
Ctrl + + / Ctrl + -
{
"key": "ctrl+=",
"command": "workbench.action.terminal.fontZoomIn",
"when": "terminalFocus"
},
{
"key": "ctrl+-",
"command": "workbench.action.terminal.fontZoomOut",
"when": "terminalFocus"
}
New file
Ctrl + n
{
"key": "ctrl+n",
"command": "workbench.action.files.newUntitledFile"
},
{
"key": "ctrl+n",
"command": "-workbench.action.files.newUntitledFile"
},
Focus activity bar
The most far left sidebar is the activity bar.
Ctrl + k + a
{
"key": "ctrl+k a",
"command": "workbench.action.focusActivityBar"
},
Inline suggestions: acceptNextWord
Ctrl + →
{
"key": "ctrl+right",
"command": "editor.action.inlineSuggest.acceptNextWord",
"when": "inlineSuggestionVisible && !editorReadonly"
},
Settings Via JSON
Open the command palette and find Preferences: Open User Settings (JSON) and paste the following:
Errorlens
Code
"errorLens.codeLensTemplate": "$severity $message $source",
"errorLens.statusBarMessageEnabled": true,
"errorLens.statusBarColorsEnabled": true,
"errorLens.statusBarMessageTemplate": "$message $severity $source",
"errorLens.decorations": {
"errorMessage": {
"textDecoration": ";background:linear-gradient(to right, #0088ff, #0a9c33);border-radius:0.3em;padding:0 0.5ch;",
"color": "#fff",
// "fontWeight": "bold",
},
"warningMessage": {
"textDecoration": ";background:linear-gradient(to right, #f73a00, #65d701);border-radius:0.3em;padding:0 0.5ch;",
"color": "#fff",
// "fontWeight": "bold",
},
},
"errorLens.excludeBySource": [
"markdownlint(MD033)"
],
"errorLens.enabledDiagnosticLevels": [
"error",
"warning",
"info",
"hint"
],
Settings Via UI
Open the command palette and find Preferences: Open Settings UI or press Ctrl + ,
Search in selection
Paste "editor.find.autoFindInSelection" in search settings and choose 'multiline' to enable to search selection.
Customize Theme
"workbench.colorCustomizations": {
// "tab.activeBackground": "#92a2c3",
"tab.activeBorderTop": "#bebe48",
// "statusBar.border": "#82ccd3",
"statusBar.foreground":"#82ccd3",
"statusBarItem.remoteBackground": "#82ccd3",
"statusBarItem.remoteForeground":"#000",
},