Skip to content

Instantly share code, notes, and snippets.

@guipeixoto
Last active May 14, 2020 13:14
Show Gist options
  • Save guipeixoto/ee4bb803b54319d92f33b25e2861ac18 to your computer and use it in GitHub Desktop.
Save guipeixoto/ee4bb803b54319d92f33b25e2861ac18 to your computer and use it in GitHub Desktop.
File configuration for editor Visual Studio Code
{
"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