VS Code settings 2021
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 overwrite the defaults | |
[ | |
{ | |
"key": "shift+cmd+\\", | |
"command": "workbench.files.action.showActiveFileInExplorer" | |
}, | |
{ | |
"key": "cmd+k cmd+u", | |
"command": "editor.action.transformToUppercase" | |
}, | |
{ | |
"key": "cmd+k cmd+l", | |
"command": "editor.action.transformToLowercase" | |
}, | |
{ | |
"key": "cmd+'", | |
"command": "select-quotes" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "-workbench.action.switchWindow" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "editor.emmet.action.wrapWithAbbreviation" | |
}, | |
{ | |
"key": "ctrl+cmd+w", | |
"command": "-workbench.action.toggleTabsVisibility" | |
}, | |
{ | |
"key": "ctrl+cmd+w", | |
"command": "workbench.action.closeAllEditors" | |
}, | |
{ | |
"key": "cmd+k cmd+w", | |
"command": "-workbench.action.closeAllEditors" | |
}, | |
// Is there a shortcut to move focus to the sidebar in Visual Studio Code? | |
// https://stackoverflow.com/a/49668291/96257 | |
{ // Unbind unconditional default | |
"key": "cmd+0", | |
"command": "-workbench.action.focusSideBar" | |
}, | |
{ // |← | |
"key": "cmd+0", | |
"when": "!sideBarFocus", | |
"command": "workbench.action.focusSideBar" | |
}, | |
{ // |→ | |
"key": "cmd+0", | |
"when": "sideBarFocus", | |
"command": "workbench.action.focusActiveEditorGroup" | |
}, | |
{ | |
"key": "alt+cmd+[", | |
"command": "-editor.fold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "alt+cmd+[", | |
"command": "-editor.fold", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+cmd+[", | |
"command": "editor.action.reindentselectedlines" | |
}, | |
{ | |
"key": "alt+cmd+i", | |
"command": "-workbench.action.toggleDevTools", | |
"when": "isDevelopment" | |
}, | |
{ | |
"key": "alt+cmd+i", | |
"command": "editor.action.toggleRenderWhitespace" | |
}, | |
{ | |
"key": "ctrl+shift+l", | |
"command": "workbench.action.editor.changeLanguageMode", | |
"when": "!notebookEditorFocused" | |
}, | |
{ | |
"key": "cmd+k m", | |
"command": "-workbench.action.editor.changeLanguageMode", | |
"when": "!notebookEditorFocused" | |
}, | |
{ | |
"key": "ctrl+shift+space", | |
"command": "editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
}, | |
// Because the default (⌃ space) is for Things, dangit. | |
{ | |
"key": "ctrl+space", | |
"command": "-editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+cmd+0", | |
"command": "workbench.action.zoomReset" | |
}, | |
{ | |
"key": "cmd+numpad0", | |
"command": "-workbench.action.zoomReset" | |
} | |
] |
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
{ | |
"editor.minimap.enabled": false, | |
"workbench.editor.tabCloseButton": "left", | |
"editor.fontSize": 18, | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, | |
"editor.renderWhitespace": "none", | |
"editor.rulers": [ | |
80, | |
120 | |
], | |
"files.trimTrailingWhitespace": true, | |
"files.insertFinalNewline": true, | |
"files.trimFinalNewlines": true, | |
"editor.formatOnSave": true, | |
"editor.formatOnPaste": true, | |
"editor.codeActionsOnSave": { | |
"source.fixAll": true | |
}, | |
"terminal.integrated.cursorBlinking": true, | |
"terminal.integrated.fontSize": 16, | |
// "terminal.integrated.lineHeight": 1.2, | |
"workbench.editor.showTabs": true, | |
"workbench.colorCustomizations": { | |
// "editorWhitespace.foreground": "#FFF1", | |
// "editor.lineHighlightBackground": "#0005", | |
// "editor.selectionHighlightBackground": "#000A", | |
// "editorRuler.foreground": "#FFF1" | |
}, | |
"editor.renderLineHighlight": "all", | |
"editor.occurrencesHighlight": false, | |
"editor.selectionHighlight": false, | |
"editor.semanticHighlighting.enabled": false, | |
"explorer.openEditors.visible": 0, | |
"emmet.triggerExpansionOnTab": true, | |
"workbench.iconTheme": null, | |
"emmet.includeLanguages": { | |
"django-html": "html", | |
"javascript": "javascriptreact" | |
}, | |
"cSpell.enableFiletypes": [ | |
"!python" | |
], | |
"workbench.tree.indent": 20, | |
"explorer.confirmDragAndDrop": false, | |
"workbench.editor.enablePreview": false, | |
"cSpell.userWords": [ | |
"apod", | |
"astrojs", | |
"Browsersync", | |
"buttondown", | |
"callout", | |
"cassettenest", | |
"certresolver", | |
"chmod", | |
"cloudinary", | |
"CODECOV", | |
"Cookeville", | |
"COVID", | |
"csrfmiddlewaretoken", | |
"csrftoken", | |
"currentcolor", | |
"customresponseheaders", | |
"Dependabot", | |
"digitalocean", | |
"DJSTRIPE", | |
"Dutchie", | |
"Ektachrome", | |
"eleventy", | |
"endcomment", | |
"entrypoints", | |
"exif", | |
"Ferrania", | |
"fstop", | |
"govuk", | |
"gunicorn", | |
"Hasselblad", | |
"headlessui", | |
"Heroicon", | |
"Heroicons", | |
"hsts", | |
"htdocs", | |
"htmx", | |
"linebreak", | |
"Livie's", | |
"loadbalancer", | |
"luxon", | |
"middlewares", | |
"minmax", | |
"noopener", | |
"noreferrer", | |
"Nunjucks", | |
"Photoshop", | |
"Piepmeier", | |
"Piepmeier’s", | |
"pinterest", | |
"pipenv", | |
"Pipfile", | |
"POSTGRES", | |
"postgresql", | |
"preact", | |
"Provia", | |
"pycodestyle", | |
"redirections", | |
"roadmap", | |
"Shortcode", | |
"shortcodes", | |
"signedup", | |
"signup", | |
"stylelint", | |
"supabase", | |
"tailwindcss", | |
"traefik", | |
"Traefik", | |
"Traefik’s", | |
"treylabs", | |
"treypiepmeier", | |
"venv", | |
"Vercel", | |
"vite", | |
"websecure", | |
"wsgi" | |
], | |
"workbench.startupEditor": "newUntitledFile", | |
"git.enableStatusBarSync": false, | |
"diffEditor.renderSideBySide": false, | |
"extensions.ignoreRecommendations": false, | |
"django.showContributeNotification": false, | |
"editor.accessibilitySupport": "off", | |
"workbench.editorAssociations": { | |
"*.ipynb": "jupyter-notebook" | |
}, | |
"workbench.colorTheme": "GitHub Dark Default", | |
"notebook.cellToolbarLocation": { | |
"default": "right", | |
"jupyter-notebook": "left" | |
}, | |
"window.autoDetectColorScheme": true, | |
"workbench.preferredDarkColorTheme": "GitHub Dark Default", | |
"workbench.preferredLightColorTheme": "GitHub Light", | |
"[json]": { | |
"editor.defaultFormatter": "vscode.json-language-features" | |
}, | |
"terminal.integrated.scrollback": 3000, | |
"files.associations": { | |
"*.astro": "astro" | |
}, | |
"astro.plugin.typescript.codeActions.enable": false, | |
"astro.plugin.typescript.completions.enable": false, | |
"astro.plugin.typescript.definitions.enable": false, | |
"astro.plugin.typescript.diagnostics.enable": false, | |
"astro.plugin.typescript.documentSymbols.enable": false, | |
"astro.plugin.typescript.enable": false, | |
"astro.plugin.typescript.findReferences.enable": false, | |
"astro.plugin.typescript.hover.enable": false, | |
"astro.plugin.typescript.rename.enable": false, | |
"astro.plugin.typescript.selectionRange.enable": false, | |
"astro.plugin.typescript.semanticTokens.enable": false, | |
"astro.plugin.typescript.signatureHelp.enable": false, | |
"git.enableCommitSigning": true, | |
"telemetry.telemetryLevel": "off", | |
"editor.tabSize": 2, | |
"editor.linkedEditing": true, | |
"[typescript]": { | |
"editor.defaultFormatter": "vscode.typescript-language-features" | |
}, | |
"javascript.preferences.quoteStyle": "single", | |
"typescript.preferences.quoteStyle": "single", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://calebporzio.com/6-annoying-things-in-vs-code-you-can-fix-right-now