Skip to content

Instantly share code, notes, and snippets.

@anshumanb
Last active May 25, 2022 00:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anshumanb/f43d1b413061f926775d5ebcdcda3ec0 to your computer and use it in GitHub Desktop.
Save anshumanb/f43d1b413061f926775d5ebcdcda3ec0 to your computer and use it in GitHub Desktop.
VSCode setup
[
{
"key": "ctrl+shift+i",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
},
{
"key": "shift+alt+f",
"command": "-editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
},
{
"key": "ctrl+shift+i",
"command": "-workbench.action.toggleDevTools",
"when": "isDevelopment"
}
]
{
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.formatOnSave": true,
"workbench.editor.enablePreview": false,
"editor.minimap.enabled": false,
"explorer.confirmDelete": false,
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"window.newWindowDimensions": "maximized",
"explorer.confirmDragAndDrop": false,
"editor.accessibilitySupport": "off",
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"terminal.integrated.defaultProfile.windows": "Git Bash"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment