VS Code Settings
Sensible settings for VS Code
settings:
{
"editor.fontSize": 16,
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"editor.autoClosingOvertype": "never",
"extensions.ignoreRecommendations": true,
"editor.minimap.enabled": false,
"telemetry.enableTelemetry": false,
"telemetry.enableCrashReporter": false,
"editor.autoClosingBrackets": "never",
"editor.autoClosingQuotes": "never",
"editor.autoSurround": "never",
"javascript.updateImportsOnFileMove.enabled": "never",
"typescript.updateImportsOnFileMove.enabled": "never",
"workbench.enableExperiments": false,
"update.showReleaseNotes": false,
"extensions.autoCheckUpdates": false,
"workbench.settings.enableNaturalLanguageSearch": false,
"editor.fontFamily": "Cascadia Mono, Consolas, 'Courier New', monospace",
"explorer.compactFolders": false,
"debug.console.fontSize": 15,
"markdown.preview.fontSize": 15,
"terminal.integrated.fontSize": 15,
"editor.renderControlCharacters": false,
"editor.folding": false,
"update.enableWindowsBackgroundUpdates": false,
"telemetry.telemetryLevel": "off",
"window.titleBarStyle": "custom",
"diffEditor.ignoreTrimWhitespace": false,
"workbench.layoutControl.enabled": false,
"security.workspace.trust.enabled": false,
"files.defaultLanguage": "${activeEditorLanguage}",
"editor.cursorSmoothCaretAnimation": "on",
"editor.smoothScrolling": true,
"workbench.list.smoothScrolling": true,
"editor.accessibilitySupport": "off",
"git.postCommitCommand": "sync",
"git.autofetch": true,
"git.enableSmartCommit": true,
"git.autofetchPeriod": 30,
"git.inputValidationLength": 150,
"git.inputValidationSubjectLength": null,
"git.timeline.date": "authored",
"terminal.integrated.rightClickBehavior": "default",
"editor.lineNumbers": "relative",
"vim.useSystemClipboard": true,
"editor.cursorSurroundingLines": 999,
"editor.wordWrap": "on",
"rust-analyzer.inlayHints.enable": false,
"rust-analyzer.lens.implementations": false,
"rust-analyzer.lens.run": false,
"rust-analyzer.lens.debug": false
}
keybinds:
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+`",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+alt+t",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+shift+j",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+shift+a",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+a",
"command": "-editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+z",
"command": "workbench.action.toggleZenMode"
},
{
"key": "ctrl+k z",
"command": "-workbench.action.toggleZenMode"
},
{
"key": "f5",
"command": "workbench.action.debug.run"
},
{
"key": "ctrl+f5",
"command": "-workbench.action.debug.run"
},
{
"key": "ctrl+f5",
"command": "workbench.action.debug.start",
"when": "!inDebugMode"
},
{
"key": "f5",
"command": "-workbench.action.debug.start",
"when": "!inDebugMode"
},
{
"key": "alt+b",
"command": "workbench.action.tasks.build"
},
{
"key": "ctrl+shift+b",
"command": "workbench.action.tasks.build"
},
{
"key": "shift+alt+down",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+up",
"command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+up",
"command": "-editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+down",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus && terminalProcessSupported"
},
{
"key": "alt+up",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus && terminalProcessSupported"
},
{
"key": "shift+ctrl+right",
"command": "workbench.action.terminal.split",
"when": "terminalFocus && terminalProcessSupported"
},
{
"key": "shift+alt+j",
"command": "workbench.action.toggleMaximizedPanel",
"when": "terminalFocus && terminalProcessSupported"
},
{
"key": "shift+ctrl+down",
"command": "workbench.action.terminal.new",
"when": "terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+shift+`",
"command": "-workbench.action.terminal.new"
},
{
"key": "shift+ctrl+up",
"command": "workbench.action.terminal.new",
"when": "terminalFocus && terminalProcessSupported"
},
{
"key": "alt+h",
"command": "-testing.toggleTestingPeekHistory",
"when": "testing.isPeekVisible"
},
{
"key": "alt+l",
"command": "-toggleSearchEditorContextLines",
"when": "inSearchEditor"
},
{
"key": "alt+l",
"command": "-toggleFindInSelection",
"when": "editorFocus"
},
{
"key": "alt+k",
"command": "-keybindings.editor.recordSearchKeys",
"when": "inKeybindings && inKeybindingsSearch"
},
{
"key": "alt+l",
"command": "workbench.action.terminal.focusNextPane",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "alt+k",
"command": "workbench.action.focusActiveEditorGroup"
},
{
"key": "alt+j",
"command": "workbench.action.terminal.focus"
},
{
"key": "alt+h",
"command": "workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+k",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditor"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditor"
},
]