Last active
June 21, 2024 10:32
-
-
Save rdenadai/fbc1c0be0af19c7f5428b9e0dceb9122 to your computer and use it in GitHub Desktop.
vscode settings for python development
This file contains 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": "alt+q", | |
"command": "workbench.action.terminal.toggleTerminal", | |
"when": "terminal.active" | |
}, | |
{ | |
"key": "ctrl+shift+[BracketLeft]", | |
"command": "-workbench.action.terminal.toggleTerminal", | |
"when": "terminal.active" | |
}, | |
{ | |
"key": "alt+s", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "ctrl+b", | |
"command": "-workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "alt+a", | |
"command": "workbench.view.explorer", | |
"when": "viewContainer.workbench.view.explorer.enabled" | |
}, | |
{ | |
"key": "ctrl+shift+e", | |
"command": "-workbench.view.explorer", | |
"when": "viewContainer.workbench.view.explorer.enabled" | |
}, | |
{ | |
"key": "alt+d", | |
"command": "workbench.view.debug", | |
"when": "viewContainer.workbench.view.debug.enabled" | |
}, | |
{ | |
"key": "ctrl+shift+d", | |
"command": "-workbench.view.debug", | |
"when": "viewContainer.workbench.view.debug.enabled" | |
}, | |
{ | |
"key": "alt+right", | |
"command": "cursorWordPartRight" | |
}, | |
{ | |
"key": "alt+left", | |
"command": "cursorWordPartLeft" | |
}, | |
{ | |
"key": "ctrl+k v", | |
"command": "workbench.action.terminal.focusTabs", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported || terminalHasBeenCreated && terminalTabsFocus || terminalProcessSupported && terminalTabsFocus" | |
}, | |
{ | |
"key": "ctrl+shift+\\", | |
"command": "-workbench.action.terminal.focusTabs", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported || terminalHasBeenCreated && terminalTabsFocus || terminalProcessSupported && terminalTabsFocus" | |
}, | |
{ | |
"key": "ctrl+shift+up", | |
"command": "workbench.action.terminal.resizePaneUp" | |
}, | |
{ | |
"key": "ctrl+shift+down", | |
"command": "workbench.action.terminal.resizePaneDown" | |
}, | |
{ | |
"key": "ctrl+k a", | |
"command": "explorer.newFile" | |
}, | |
{ | |
"key": "ctrl+k f", | |
"command": "explorer.newFolder" | |
}, | |
{ | |
"key": "alt+f", | |
"command": "workbench.panel.chat.view.copilot.focus" | |
}, | |
{ | |
"key": "ctrl+k w", | |
"command": "workbench.action.terminal.new", | |
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile" | |
}, | |
{ | |
"key": "ctrl+shift+`", | |
"command": "-workbench.action.terminal.new", | |
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile" | |
}, | |
{ | |
"key": "ctrl+k i", | |
"command": "editor.action.goToImplementation", | |
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "ctrl+f12", | |
"command": "-editor.action.goToImplementation", | |
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "ctrl+k d", | |
"command": "editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "f12", | |
"command": "-editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "ctrl+k g", | |
"command": "editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+k", | |
"command": "-editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+pagedown", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "ctrl+pagedown", | |
"command": "-workbench.action.nextEditor" | |
}, | |
{ | |
"key": "ctrl+k l", | |
"command": "workbench.action.focusActivityBar" | |
}, | |
{ | |
"key": "ctrl+k j", | |
"command": "workbench.action.toggleActivityBarVisibility" | |
} | |
] |
This file contains 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
code --install-extension amazonwebservices.aws-toolkit-vscode | |
code --install-extension bungcip.better-toml | |
code --install-extension charliermarsh.ruff | |
code --install-extension dbaeumer.vscode-eslint | |
code --install-extension dracula-theme.theme-dracula | |
code --install-extension eamodio.gitlens | |
code --install-extension esbenp.prettier-vscode | |
code --install-extension formulahendry.code-runner | |
code --install-extension GitHub.copilot-chat | |
code --install-extension GitHub.copilot-nightly | |
code --install-extension ms-azuretools.vscode-docker | |
code --install-extension ms-python.black-formatter | |
code --install-extension ms-python.flake8 | |
code --install-extension ms-python.isort | |
code --install-extension ms-python.pylint | |
code --install-extension ms-python.python | |
code --install-extension ms-python.vscode-pylance | |
code --install-extension ms-toolsai.jupyter | |
code --install-extension ms-toolsai.jupyter-keymap | |
code --install-extension ms-toolsai.jupyter-renderers | |
code --install-extension ms-toolsai.vscode-jupyter-cell-tags | |
code --install-extension ms-toolsai.vscode-jupyter-slideshow | |
code --install-extension ms-vscode-remote.remote-containers | |
code --install-extension njpwerner.autodocstring | |
code --install-extension oderwat.indent-rainbow | |
code --install-extension PKief.material-icon-theme | |
code --install-extension redhat.vscode-xml | |
code --install-extension redhat.vscode-yaml | |
code --install-extension rust-lang.rust-analyzer | |
code --install-extension SonarSource.sonarlint-vscode | |
code --install-extension Vue.volar | |
code --install-extension Vue.vscode-typescript-vue-plugin |
This file contains 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
{ | |
"indentRainbow.colors": [ | |
"rgba(148,0,211,0.1)", | |
"rgba(75,0,130,0.1)", | |
"rgba(0,0,255,0.1)", | |
"rgba(0,255,0,0.1)", | |
"rgba(255,255,0,0.1)", | |
"rgba(255,127,0,0.1)", | |
"rgba(255,0,0,0.1)" | |
], | |
"indentRainbow.excludedLanguages": ["plaintext", "markdown"], | |
"editor.minimap.enabled": false, | |
"editor.minimap.renderCharacters": false, | |
"editor.minimap.maxColumn": 90, | |
"editor.minimap.scale": 3, | |
"workbench.colorTheme": "Catppuccin Mocha", | |
"workbench.colorCustomizations": { | |
"editorRuler.foreground": "#ff4081", | |
"editor.background": "#212", | |
"sideBar.background": "#212", | |
"terminal.background": "#212", | |
"panel.background": "#212" | |
}, | |
"editor.stickyScroll.enabled": true, | |
"editor.semanticHighlighting.enabled": false, | |
"editor.fontFamily": "Fira Code SemiBold", | |
"terminal.integrated.fontFamily": "Fira Code SemiBold", | |
"editor.fontSize": 14, | |
"editor.fontLigatures": true, | |
"editor.fontWeight": "450", | |
"editor.letterSpacing": 0.6, | |
"editor.lineHeight": 1.6, | |
"editor.rulers": [120], | |
"editor.wordWrap": "wordWrapColumn", | |
"editor.wordWrapColumn": 120, | |
"workbench.editor.highlightModifiedTabs": true, | |
"editor.cursorStyle": "block", | |
"editor.cursorBlinking": "smooth", | |
"files.trimFinalNewlines": true, | |
"editor.linkedEditing": true, | |
"workbench.tree.indent": 25, | |
"editor.suggestSelection": "first", | |
"black-formatter.path": ["black"], | |
"black-formatter.args": ["--line-length=120"], | |
"isort.path": ["isort"], | |
"isort.showNotifications": "always", | |
"isort.args": [ | |
"--profile", | |
"black" | |
// "--settings-path=${workspaceFolder}/pyproject.toml" | |
], | |
"flake8.path": ["flake8"], | |
"flake8.args": ["--max-line-length=120", "--max-complexity=7", "--verbose"], | |
"pylint.path": ["pylint"], | |
"pylint.args": [ | |
"--max-line-length=120", | |
"-j 4", | |
"--enable=C,R,F,E,W", | |
"--disable=logging-fstring-interpolation,unrecognized-option" | |
// "--load-plugins=perflint" | |
], | |
"ruff.organizeImports": false, | |
"ruff.lint.args": ["--line-length", "120"], | |
"python.analysis.inlayHints.callArgumentNames": "all", | |
"python.analysis.inlayHints.functionReturnTypes": true, | |
"python.analysis.inlayHints.pytestParameters": true, | |
"python.analysis.inlayHints.variableTypes": true, | |
"vue.inlayHints.inlineHandlerLeading": true, | |
"vue.inlayHints.missingProps": true, | |
"vue.inlayHints.optionsWrapper": true, | |
"javascript.inlayHints.functionLikeReturnTypes.enabled": true, | |
"javascript.inlayHints.parameterNames.enabled": "all", | |
"javascript.inlayHints.propertyDeclarationTypes.enabled": true, | |
"javascript.inlayHints.variableTypes.enabled": true, | |
"editor.inlayHints.fontFamily": "Fira Code Retina", | |
"vue.features.codeActions.savingTimeLimit": 3000, | |
"editor.formatOnSave": true, | |
"editor.indentSize": "tabSize", | |
"[vue]": { | |
"editor.tabSize": 2, | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.inlayHints.enabled": "offUnlessPressed" | |
}, | |
"[html]": { | |
"editor.tabSize": 2, | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[css]": { | |
"editor.tabSize": 2, | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[javascript]": { | |
"editor.tabSize": 2, | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.inlayHints.enabled": "offUnlessPressed" | |
}, | |
"[python]": { | |
"editor.tabSize": 4, | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": "explicit", | |
"source.fixAll": "explicit" | |
}, | |
"editor.defaultFormatter": "ms-python.black-formatter", | |
"editor.inlayHints.enabled": "offUnlessPressed" | |
}, | |
"[rust]": { | |
"editor.tabSize": 4, | |
"editor.inlayHints.enabled": "offUnlessPressed" | |
}, | |
"[ocaml]": { | |
"editor.tabSize": 2, | |
"editor.inlayHints.enabled": "offUnlessPressed" | |
}, | |
"[jsonc]": { | |
"editor.tabSize": 2, | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[markdown]": { | |
"editor.wordWrap": "wordWrapColumn" | |
}, | |
"python.defaultInterpreterPath": "/home/rdenadai/.pyenv/versions/3.10.11/bin/python", | |
"json.schemas": [], | |
"yaml.customTags": [ | |
"!And", | |
"!And sequence", | |
"!If", | |
"!If sequence", | |
"!Not", | |
"!Not sequence", | |
"!Equals", | |
"!Equals sequence", | |
"!Or", | |
"!Or sequence", | |
"!FindInMap", | |
"!FindInMap sequence", | |
"!Base64", | |
"!Join", | |
"!Join sequence", | |
"!Cidr", | |
"!Ref", | |
"!Sub", | |
"!Sub sequence", | |
"!GetAtt", | |
"!GetAZs", | |
"!ImportValue", | |
"!ImportValue sequence", | |
"!Select", | |
"!Select sequence", | |
"!Split", | |
"!Split sequence" | |
], | |
"redhat.telemetry.enabled": true, | |
"aws.onDefaultRegionMissing": "add", | |
"aws.resources.enabledResources": [], | |
"go.toolsManagement.autoUpdate": true, | |
"emmet.includeLanguages": {}, | |
"emmet.showSuggestionsAsSnippets": true, | |
"emmet.showExpandedAbbreviation": "inMarkupAndStylesheetFilesOnly", | |
"emmet.triggerExpansionOnTab": true, | |
"git.autofetch": true, | |
"editor.suggest.showMethods": true, | |
"editor.suggest.preview": true, | |
"editor.acceptSuggestionOnEnter": "on", | |
"editor.snippetSuggestions": "top", | |
"workbench.editorAssociations": { | |
"*.html": "default" | |
}, | |
"editor.inlineSuggest.enabled": true, | |
"jupyter.widgetScriptSources": ["jsdelivr.com", "unpkg.com"], | |
"workbench.iconTheme": "material-icon-theme", | |
"git.openRepositoryInParentFolders": "never", | |
"github.copilot.advanced": {}, | |
"aws.suppressPrompts": { | |
"codeWhispererConnectionExpired": true | |
}, | |
"security.workspace.trust.untrustedFiles": "open", | |
"github.copilot.enable": { | |
"*": true, | |
"plaintext": true, | |
"markdown": true, | |
"scminput": false | |
}, | |
"diffEditor.hideUnchangedRegions.enabled": true, | |
"editor.codeActionsOnSave": {}, | |
"editor.formatOnType": true, | |
"breadcrumbs.enabled": false, | |
"telemetry.telemetryLevel": "crash", | |
"window.menuBarVisibility": "toggle", | |
"window.zoomLevel": 1, | |
"terminal.integrated.tabs.enabled": false, | |
"workbench.editor.enablePreview": false, | |
"terminal.integrated.stickyScroll.enabled": false, | |
"editor.folding": false, | |
"workbench.welcomePage.enabled": false, | |
"workbench.startupEditor": "newUntitledFile", | |
"workbench.sideBar.location": "right", | |
"terminal.integrated.defaultProfile.linux": "tmux", | |
"github.copilot.editor.enableAutoCompletions": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
noice