Development environment: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= VS Code settings = <syntaxhighlight lang="json"> { "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", "git...") |
No edit summary |
||
Line 32: | Line 32: | ||
"git.confirmSync": false | "git.confirmSync": false | ||
} | } | ||
</syntaxhighlight> | |||
= VS Code keybindings = | |||
<syntaxhighlight lang="json"> | |||
// 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" | |||
} | |||
] | |||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 01:51, 9 March 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
}
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"
}
]