Development environment: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 31: | Line 31: | ||
}, | }, | ||
"git.confirmSync": false | "git.confirmSync": false | ||
"editor.trimAutoWhitespace": false, | |||
"files.trimFinalNewlines": true, | |||
"files.trimTrailingWhitespace": true | |||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 04:07, 4 September 2023
VS Code settings
{
"telemetry.enableTelemetry": false,
"telemetry.enableCrashReporter": false,
"gitlens.gitCommands.closeOnFocusOut": true,
"git.enableSmartCommit": true,
"editor.hover.delay": 1200,
"gitlens.gitCommands.skipConfirmations": [
"fetch:command",
"stash-push:command",
"switch:command",
"push:command"
],
"gitlens.views.repositories.branches.layout": "list",
"gitlens.views.repositories.files.layout": "list",
"workbench.activityBar.visible": true,
"workbench.editor.openPositioning": "last",
"workbench.statusBar.visible": true,
"editor.tabSize": 2,
"javascript.updateImportsOnFileMove.enabled": "always",
"diffEditor.ignoreTrimWhitespace": false,
"explorer.confirmDelete": false,
"files.autoSave": "afterDelay",
"editor.formatOnSave": true,
"editor.dragAndDrop": false,
"timeline.excludeSources": [],
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"git.confirmSync": false
"editor.trimAutoWhitespace": false,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true
}
VS Code keybindings
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+numpad_add",
"command": "workbench.action.navigateForward"
},
{
"key": "ctrl+numpad_add",
"command": "-workbench.action.zoomIn"
},
{
"key": "ctrl+shift+-",
"command": "-workbench.action.navigateForward"
},
{
"key": "ctrl+numpad_subtract",
"command": "workbench.action.quickInputBack",
"when": "inQuickOpen"
},
{
"key": "ctrl+numpad_subtract",
"command": "workbench.action.navigateBack"
},
{
"key": "ctrl+numpad_subtract",
"command": "-workbench.action.zoomOut"
},
{
"key": "ctrl+alt+-",
"command": "-workbench.action.quickInputBack",
"when": "inQuickOpen"
},
{
"key": "ctrl+alt+-",
"command": "-workbench.action.navigateBack"
},
{
"key": "ctrl+shift+numpad_subtract",
"command": "workbench.action.zoomOut"
},
{
"key": "ctrl+shift+numpad_add",
"command": "workbench.action.zoomIn"
},
{
"key": "ctrl+tab",
"command": "-workbench.action.quickOpenNavigateNextInEditorPicker",
"when": "inEditorsPicker && inQuickOpen"
},
{
"key": "ctrl+shift+tab",
"command": "-workbench.action.quickOpenNavigatePreviousInEditorPicker",
"when": "inEditorsPicker && inQuickOpen"
},
{
"key": "ctrl+tab",
"command": "-workbench.action.openNextRecentlyUsedEditorInGroup"
},
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditor"
},
{
"key": "ctrl+pagedown",
"command": "-workbench.action.nextEditor"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditor"
},
{
"key": "ctrl+pageup",
"command": "-workbench.action.previousEditor"
},
{
"key": "ctrl+shift+tab",
"command": "-workbench.action.openPreviousRecentlyUsedEditorInGroup"
},
{
"key": "ctrl+]",
"command": "editor.action.jumpToBracket",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+\\",
"command": "-editor.action.jumpToBracket",
"when": "editorTextFocus"
},
{
"key": "ctrl+]",
"command": "-editor.action.indentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+down",
"command": "editor.action.duplicateSelection"
},
{
"key": "alt+a",
"command": "workbench.files.action.collapseExplorerFolders"
}
]