Skip to content

Instantly share code, notes, and snippets.

@vdonoladev
Last active February 23, 2021 23:56
Show Gist options
  • Save vdonoladev/a2bfc81befaa1136f5315ad11fc05389 to your computer and use it in GitHub Desktop.
Save vdonoladev/a2bfc81befaa1136f5315ad11fc05389 to your computer and use it in GitHub Desktop.
Settings for VSCODE
{
// VS Code
"workbench.startupEditor": "newUntitledFile",
"workbench.editor.labelFormat": "short",
"workbench.colorTheme": "Dracula",
"workbench.iconTheme": "material-icon-theme",
"workbench.editor.enablePreview": false,
"workbench.sideBar.location": "left",
"window.menuBarVisibility": "default",
"editor.renderControlCharacters": false,
"editor.fontFamily": "'Fira Code'",
"editor.tabSize": 2,
"editor.fontLigatures": true,
"editor.renderLineHighlight": "gutter",
"editor.rulers": [80, 120],
"editor.minimap.enabled": false,
"editor.fontSize": 13,
"debug.console.fontSize": 14,
"explorer.compactFolders": false,
"breadcrumbs.enabled": true,
"git.enableSmartCommit": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.formatOnSave": true,
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// Auto fix on save
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll": true,
"source.organizeImports": true,
"source.addMissingImports": true,
},
// Terminal
"terminal.integrated.copyOnSelection": false,
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.cursorStyle": "line",
"terminal.integrated.shell.linux": "zsh",
"terminal.integrated.fontFamily": "'Fira Code'",
"terminal.integrated.fontSize": 13,
"terminal.integrated.lineHeight": 0,
// Javascript & TypeScript
"javascript.preferences.quoteStyle": "single",
"typescript.preferences.quoteStyle": "single",
"javascript.validate.enable": false,
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"javascript.suggest.autoImports": true,
"typescript.suggest.autoImports": true,
"typescript.autoImportSuggestions.enabled": true,
"typescript.format.enable": true,
"typescript.autoClosingTags": true,
"editor.showUnused": true,
"typescript.suggestionActions.enabled": true,
"typescript.referencesCodeLens.enabled": true,
"typescript.implementationsCodeLens.enabled": true,
"emmet.syntaxProfiles": {
"javascript": "jsx"
},
"emmet.includeLanguages": {
"django-html": "html",
"javascript": "javascriptreact",
"typescript": "typescriptreact"
},
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features",
"editor.formatOnSave": true
},
// Python
"python.linting.pylintArgs": [
"--load-plugins=pylint_django",
"--errors-only"
],
"[python]": {
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.formatOnSave": true,
"editor.formatOnType": true
},
"python.pythonPath": "/bin/python3.8",
"python.linting.flake8Enabled": true,
"python.linting.mypyEnabled": true,
"python.testing.unittestEnabled": true,
// Django
"files.associations": {
"*.html": "html",
"**/templates/*.html": "django-html",
"**/templates/*": "django-txt",
"**/requirements{/**,*}.{txt,in}": "pip-requirements"
},
// AutoDocstring extension
"autoDocstring.docstringFormat": "google",
// BracketPairColorizer extension
"bracketPairColorizer.showBracketsInGutter": true,
// Code runner extension
"code-runner.clearPreviousOutput": true,
"code-runner.ignoreSelection": true,
"code-runner.saveFileBeforeRun": true,
"code-runner.runInTerminal": true,
"code-runner.preserveFocus": false,
"code-runner.executorMap": {
"python": "python3 -u",
"TypeScript": "npx ts-node --files"
},
// Material icon theme extension
"material-icon-theme.hidesExplorerArrows": true,
// Colorize
"colorize.hide_current_line_decorations": false,
"colorize.include": [".tsx", ".jsx", ".ts", ".js"],
"colorize.languages": [
"typescriptreact",
"javascriptreact",
"javascript",
"typescript",
"css",
"sass",
"scss",
"less",
"pcss",
"sss",
"stylus",
"xml",
"svg"
],
"colorize.colorized_colors": ["BROWSERS_COLORS", "HEXA", "RGB", "HSL"],
"colorize.enable_search_variables": false,
// Spell checker extension
"cSpell.enabled": true,
"cSpell.language": "en,pt,pt_BR",
"cSpell.userWords": [],
// Dracula theme personalized (need dracula)
"workbench.colorCustomizations": {
// Side: #13141f
// Main: #171724
"activityBar.background": "#171724",
"breadcrumb.background": "#171724",
"dropdown.background": "#171724",
"editor.background": "#171724",
"input.background": "#171724",
"listFilterWidget.background": "#171724",
"panel.background": "#171724",
"terminal.background": "#171724",
"sideBarSectionHeader.background": "#171724",
"tab.activeBackground": "#171724",
"peekViewEditor.background": "#171724",
"editor.snippetFinalTabstopHighlightBackground": "#171724",
"editor.snippetTabstopHighlightBackground": "#171724",
"editorHoverWidget.background": "#171724",
"debugToolBar.background": "#13141f",
"editor.foldBackground": "#13141f",
"editorMarkerNavigation.background": "#13141f",
"editorSuggestWidget.background": "#13141f",
"editorWidget.background": "#13141f",
"peekViewResult.background": "#13141f",
"settings.checkboxBackground": "#13141f",
"settings.dropdownBackground": "#13141f",
"settings.numberInputBackground": "#13141f",
"settings.textInputBackground": "#13141f",
"sideBar.background": "#13141f",
"tab.inactiveBackground": "#13141f",
"terminal.ansiBlack": "#13141f",
"titleBar.activeBackground": "#13141f",
"walkThrough.embeddedEditorBackground": "#13141f"
},
"window.zoomLevel": 0,
// Demais configurações
"editor.parameterHints.enabled": false,
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"eslint.validate": [
{
"language": "typescript",
"autoFix": true
},
{
"language": "typescriptreact",
"autoFix": true
}
],
"eslint.autoFixOnSave": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"tabnine.experimentalAutoImports": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment