Last active
June 7, 2026 13:49
-
-
Save dfch/318df47902ae8ec1c0529d97a160fa8e to your computer and use it in GitHub Desktop.
VSCode settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Jump to start of line: CTRL + A | |
| Jump to end of line: CTRL + E | |
| Copy selection: CTRL + C | |
| Copy complete line: CTRL + C | |
| Select text one line up: SHIFT + ARROW-UP | |
| Select text one line down: SHIFT + ARROW-DOWN | |
| Select all text: CTRL + SHIFT + A | |
| Select text right: SHIFT + ARROW-RIGHT | |
| Select text left: SHIFT + ARROW-LEFT | |
| Delete line and cut: CTRL + L | |
| Delete line without cut: CTRL + SHIFT + L | |
| Duplicate line: CTRL + D | |
| Move current line up: CTRL + SHIFT + ARROW-UP | |
| Move current line down: CTRL + SHIFT + ARROW-DOWN | |
| Scroll one line up: CTRL + UP | |
| Scroll one line down: CTRL + DOWN | |
| Indent text: TAB | |
| De-indent text: SHIFT-TAB | |
| Comment current line: CTRL + K + CTRL + C | |
| Uncomment current line: CTRL + K + CTRL + U | |
| Command palette: CTRL + SHIFT + P | |
| Find files: CTRL + P | |
| Find symbols: CTRL + T | |
| Find all references: CTRL + ALT + F12 | |
| Find in active file: CTRL + F | |
| Replace in active file: CTRL + H | |
| Find text in all files: CTRL + SHIFT + F | |
| Replace text in all files: CTRL + SHIFT + H | |
| Go to Explorer tab: CTRL + SHIFT + E | |
| Go to Github tab: CTRL + SHIFT + G | |
| Go to Testing tab: CTRL + SHIFT + T + CTRL + SHIFT + T | |
| Close active file: CTRL + W | |
| Open last closed file: CTRL + SHIFT + T |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Place your key bindings in this file to override the defaultsauto[] | |
| [ | |
| { | |
| "key": "ctrl+oem_6", | |
| "command": "workbench.action.terminal.focus" | |
| }, | |
| { | |
| "key": "ctrl+oem_6", | |
| "command": "workbench.action.focusActiveEditorGroup", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+shift+l", | |
| "command": "editor.action.deleteLines", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+l", | |
| "command": "editor.action.clipboardCutAction", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+shift+k", | |
| "command": "-editor.action.deleteLines", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+a", | |
| "command": "cursorHome", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+e", | |
| "command": "cursorEnd", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+shift+up", | |
| "command": "editor.action.moveLinesUpAction", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+shift+down", | |
| "command": "editor.action.moveLinesDownAction", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+d", | |
| "command": "editor.action.copyLinesDownAction", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+shift+a", | |
| "command": "editor.action.selectAll", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+a", | |
| "command": "-editor.action.selectAll" | |
| }, | |
| { | |
| "key": "ctrl+e", | |
| "command": "-workbench.action.quickOpen" | |
| }, | |
| // https://stackoverflow.com/a/70599253/3881834 | |
| { | |
| "key": "ctrl+alt+up", // whatever keybinding you want | |
| "command": "cursorMove", | |
| "args": { | |
| "to": "up", | |
| "by": "line", | |
| "value": 5 // change this if you want | |
| }, | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "ctrl+alt+down", // whatever keybinding you want | |
| "command": "cursorMove", | |
| "args": { | |
| "to": "down", | |
| "by": "line", | |
| "value": 5 // change | |
| }, | |
| "when": "editorTextFocus" | |
| } | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Windows %APPDATA%\Code\User\ | |
| // Linux ~/.config/Code/user-data/User/ | |
| // Mac ~/Library/Application Support/Code/User/ | |
| { | |
| "workbench.colorTheme": "Default Light Modern", | |
| "files.autoSave": "afterDelay", | |
| "git.confirmSync": false, | |
| "cmake.showOptionsMovedNotification": false, | |
| "editor.acceptSuggestionOnCommitCharacter": false, | |
| "editor.inlineSuggest.enabled": false, | |
| "editor.inlineSuggest.edits.experimental.enabled": false, | |
| "explorer.confirmDelete": false, | |
| "chat.commandCenter.enabled": false, | |
| "workbench.startupEditor": "none", | |
| "editor.detectIndentation": false, | |
| "diffEditor.ignoreTrimWhitespace": false, | |
| "chat.agent.enabled": false, | |
| "chat.notifyWindowOnConfirmation": false, | |
| "telemetry.feedback.enabled": false, | |
| "C_Cpp.copilotHover": "disabled", | |
| "remote.SSH.experimental.chat": false, | |
| "python.analysis.aiCodeActions": { | |
| "implementAbstractClasses": false | |
| }, | |
| "python.analysis.extraPaths": [ | |
| "${workspaceFolder}/src" | |
| ], | |
| "python.autoComplete.extraPaths": [ | |
| "${workspaceFolder}/src" | |
| ], | |
| "[python]": { | |
| "editor.defaultFormatter": "ms-python.black-formatter", | |
| "editor.formatOnSave": true | |
| }, | |
| "flake8.args": [ | |
| "--max-line-length=80" | |
| ], | |
| "telemetry.telemetryLevel": "off", | |
| "workbench.enableExperiments": false, | |
| // Command Runner extension. | |
| "command-runner.terminal.name": "runCommand", | |
| "command-runner.terminal.autoClear": true, | |
| "command-runner.terminal.autoFocus": true, | |
| "command-runner.terminal.cwd": "${fileDirname}", | |
| "notebook.cellToolbarLocation": { | |
| "default": "right", | |
| "jupyter-notebook": "right" | |
| }, | |
| "git.suggestSmartCommit": false, | |
| "sonarlint.connectedMode.connections.sonarcloud": [ | |
| { | |
| "organizationKey": "dfensgmbh", | |
| "connectionId": "dfensgmbh", | |
| "disableNotifications": true, | |
| "region": "EU" | |
| } | |
| ], | |
| "python.analysis.typeCheckingMode": "standard", | |
| "sonarlint.rules": { | |
| "python:S4144": { | |
| "level": "on" | |
| } | |
| }, | |
| "sonarlint.automaticAnalysis": false, | |
| "sonarlint.focusOnNewCode": false | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment