Last active
May 14, 2020 13:14
-
-
Save guipeixoto/ee4bb803b54319d92f33b25e2861ac18 to your computer and use it in GitHub Desktop.
File configuration for editor Visual Studio Code
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
{ | |
"workbench.colorTheme": "Dracula", // define o tema do VSCode | |
"workbench.iconTheme": "material-icon-theme", // define o tema de ícones na sidebar | |
"workbench.startupEditor": "newUntitledFile", | |
"workbench.editor.labelFormat": "medium", | |
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe", // define o bash como default para terminal | |
"terminal.integrated.fontSize": 15, // define tamanho da fonte do terminal | |
// configurações do editor | |
"editor.tabSize": 2, // o tab sendo 2 espaços e não 4 como por padrão | |
"editor.suggestSelection": "first", | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, // adicionar símbolos para sinais de operadores lógicos, por exemplo | |
"editor.renderLineHighlight": "gutter", // identificação da linha selecionada apenas no número | |
"editor.rulers": [90, 130], | |
"editor.formatOnSave": true, | |
"[javascript]": { | |
"editor.codeActionsOnSave": { | |
"source.fixAll.eslint": true | |
} | |
}, | |
"[javascriptreact]": { | |
"editor.codeActionsOnSave": { | |
"source.fixAll.eslint": true | |
} | |
}, | |
"[typescript]": { | |
"editor.codeActionsOnSave": { | |
"source.fixAll.eslint": true | |
} | |
}, | |
"[typescriptreact]": { | |
"editor.codeActionsOnSave": { | |
"source.fixAll.eslint": true | |
} | |
}, | |
"explorer.compactFolders": false, | |
"explorer.confirmDelete": false, | |
"explorer.confirmDragAndDrop": false, | |
"explorer.autoReveal": false, // selecionar automaticamente os arquivos ao abri-los no explorer | |
"files.autoSave": "off", | |
"git.enableSmartCommit": true, | |
"window.zoomLevel": 0, | |
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", | |
"emmet.syntaxProfiles": { | |
"javascript": "jsx" | |
}, | |
"emmet.includeLanguages": { | |
"javascript": "javascriptreact" | |
}, | |
"emmet.triggerExpansionOnTab": true, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"javascript.updateImportsOnFileMove.enable": "never", // nunca fazer a "correção de importação de arquivos movidos | |
"typescript.updateImportsOnFileMove.enable": "never", // nunca fazer a "correção de importação de arquivos movidos | |
"eslint.alwaysShowStatus": true, | |
"typescript.updateImportsOnFileMove.enabled": "never", | |
// https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme | |
// configuracão de novas pastas com ícones já existentes | |
"material-icon-theme.folders.associations": { | |
"infra": "app", | |
"entities": "class", | |
"schemas": "class", | |
"typeorm": "database", | |
"repositories": "mappings", | |
"http": "container", | |
"migrations": "tools", | |
"modules": "components", | |
"implementations": "core", | |
"dtos": "typescript", | |
"fakes": "mock" | |
}, | |
"material-icon-theme.files.associations": { | |
"ormconfig.json": "database", | |
"tsconfig.json": "tune" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment