-
-
Save duard/50786a69d65e17d62f895137975e7746 to your computer and use it in GitHub Desktop.
vscode configurations
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
{ | |
// =================== CONFIG: Basicas do vscode =================== | |
"workbench.startupEditor": "none", // <== Não abrir o arquivo de boas vindas | |
"screencastMode.onlyKeyboardShortcuts": true, | |
"breadcrumbs.enabled": true, // <== Zoom da tela | |
"workbench.sideBar.location": "left", // <== Posição da barra lateral | |
"workbench.iconTheme": "material-icon-theme", | |
"glassit.alpha": 241, | |
"workbench.productIconTheme": "fluent-icons", | |
"workbench.tree.indent": 20, | |
"window.menuBarVisibility": "toggle", | |
// =================== CONFIG: javascript/node.js =================== | |
"javascript.suggest.autoImports": true, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
// =================== CONFIG: react.js =================== | |
"emmet.syntaxProfiles": { | |
"javascript": "jsx" | |
}, | |
"emmet.includeLanguages": { | |
"javascript": "javascriptreact", | |
"typescript": "typescriptreact", | |
"javascriptreact": "javascriptreact", | |
"typescriptreact": "typescriptreact" | |
}, | |
// =================== CONFIG: arquivos e pastas =================== | |
// "files.autoSave": "afterDelay", // <== Salvar automaticamente | |
"files.associations": { | |
".sequelizerc": "javascript", | |
".stylelintrc": "json", | |
"*.tsx": "typescriptreact", | |
".env.*": "dotenv", | |
".prettierrc": "json" | |
}, | |
"files.exclude": { | |
"**/CVS": true, | |
"**/.DS_Store": true, | |
"**/.hg": true, | |
"**/.svn": true, | |
"**/.git": true, | |
"**/node_modules": true, | |
"**/__pycache__": true | |
}, | |
// =================== CONFIG: extensões =================== | |
"extensions.ignoreRecommendations": true, // <== Não mostrar recomendações de extensões | |
"extensions.autoCheckUpdates": true, // <== Verificar atualizações automaticamente | |
// =================== CONFIG: typescript =================== | |
// "typescript.tsserver.log": "on", | |
"typescript.suggest.autoImports": true, | |
"typescript.updateImportsOnFileMove.enabled": "always", | |
// =================== CONFIG: extensão material icon theme =================== | |
"material-icon-theme.folders.associations": { | |
"adapters": "contract", | |
"grpc": "pipe", | |
"kube": "kubernetes", | |
"main": "lib", | |
"websockets": "pipe", | |
"implementations": "core", | |
"protos": "pipe", | |
"entities": "class", | |
"kafka": "pipe", | |
"use-cases": "functions", | |
"migrations": "tools", | |
"schemas": "class", | |
"useCases": "functions", | |
"eslint-config": "tools", | |
"typeorm": "database", | |
"_shared": "shared", | |
"mappers": "meta", | |
"fakes": "mock", | |
"modules": "components", | |
"subscribers": "messages", | |
"domain": "class", | |
"protocols": "contract", | |
"infra": "app", | |
"view-models": "views", | |
"presentation": "template", | |
"dtos": "typescript", | |
"http": "container", | |
"providers": "include", | |
"factories": "class", | |
"repositories": "mappings" | |
}, | |
"material-icon-theme.files.associations": { | |
"tsconfig.json": "tune", | |
"*.webpack.js": "webpack", | |
"*.proto": "3d", | |
"ormconfig.json": "database" | |
}, | |
"material-icon-theme.languages.associations": { | |
"dotenv": "tune" | |
}, | |
"material-icon-theme.activeIconPack": "nest", | |
"material-icon-theme.folders.theme": "specific", | |
"material-icon-theme.folders.color": "#6272a4", | |
// =================== CONFIG: editor =================== | |
"editor.rulers": [120, 120], // <== Linhas guias | |
"editor.fontSize": 12, // <== Tamanho da fonte | |
"editor.tabSize": 2, // <== Tamanho da tabulação | |
"editor.lineHeight": 18, // <== Altura da linha | |
"editor.fontWeight": "400", | |
// "editor.fontFamily": "Fira Code", // <== Fonte | |
"editor.fontFamily": "Cascadia, FiraCode Nerd Font Mono, 'VictorMono Nerd Font'", | |
"editor.snippetSuggestions": "top", | |
"editor.suggestSelection": "first", // <== Selecionar a primeira sugestão | |
"editor.fontLigatures": true, // <== Fonte com ligaduras | |
"editor.acceptSuggestionOnCommitCharacter": false, // <== Não aceitar sugestão ao digitar | |
"editor.accessibilitySupport": "off", // <== Desabilitar suporte a acessibilidade | |
"workbench.editor.labelFormat": "short", // <== Formato do nome do arquivo | |
"editor.parameterHints.enabled": true, // <== Desabilitar dicas de parâmetros | |
"editor.renderLineHighlight": "gutter", // <== Destacar linha atual | |
"editor.cursorStyle": "line", | |
"editor.cursorBlinking": "smooth", | |
"editor.minimap.enabled": false, | |
"editor.bracketPairColorization.enabled": true, | |
"editor.guides.bracketPairs": "active", | |
"editor.wordWrap": "on", | |
"editor.letterSpacing": 0.5, | |
"editor.cursorWidth": 3, | |
"editor.glyphMargin": true, | |
"editor.selectionHighlight": true, | |
// =================== CONFIG: terminal linux =================== | |
"terminal.integrated.fontSize": 16, | |
"terminal.integrated.shell.linux": "bash", | |
"terminal.integrated.fontFamily": "Hack Nerd Font", | |
"terminal.integrated.showExitAlert": false, | |
"terminal.integrated.env.osx": { | |
"FIG_NEW_SESSION": "1" | |
}, | |
// =================== CONFIG: discord presence =================== | |
"discord.detailsIdling": "👀 Procurando nos Arquivos...", | |
"discord.detailsEditing": "☕ {file_name} com {file_size}", | |
"discord.largeImageIdling": "⏲️ Código, Café e Pomodoro", | |
"discord.lowerDetailsDebugging": "🐛 Debugging: {git_branch}", | |
"discord.lowerDetailsEditing": "📦 Projeto: {workspace}", | |
"discord.lowerDetailsIdling": "☕ Hora do café", | |
"discord.lowerDetailsNoWorkspaceFound": "{file_size}", | |
// =================== CONFIG: eslint e prettier =================== | |
"eslint.format.enable": true, | |
"editor.codeActionsOnSave": { | |
"source.fixAll.eslint": "explicit", | |
"source.organizeImports": "explicit" | |
}, | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.formatOnSave": true, | |
"editor.formatOnPaste": false, | |
"editor.inlineSuggest.enabled": true, | |
"git.confirmSync": false, | |
"github.copilot.enable": { | |
"*": true, | |
"yaml": false, | |
"plaintext": false, | |
"markdown": true, | |
"javascript": true, | |
"python": true, | |
"javascriptreact": true | |
}, | |
"editor.semanticHighlighting.enabled": false, | |
"eslint.validate": ["javascript", "typescriptreact", "javascriptreact"], | |
"[javascript]": { | |
"editor.autoClosingBrackets": "always", | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[typescript]": { | |
"editor.autoClosingBrackets": "always", | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[javascriptreact]": { | |
"editor.autoClosingBrackets": "always", | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[typescriptreact]": { | |
"editor.autoClosingBrackets": "always", | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[python]": { | |
"editor.defaultFormatter": "ms-python.python" | |
}, | |
// =================== CONFIG: explorador de arquivos =================== | |
"explorer.confirmDelete": false, | |
"explorer.compactFolders": false, | |
"explorer.confirmDragAndDrop": false, | |
// =================== CONFIG: git e gitlens =================== | |
"gitlens.codeLens.recentChange.enabled": false, | |
"gitlens.codeLens.authors.enabled": false, | |
"gitlens.codeLens.enabled": false, | |
"git.enableSmartCommit": true, | |
"git.allowForcePush": false, | |
"git.autofetch": true, | |
// =================== CONFIG: live share/server =================== | |
"liveshare.featureSet": "insiders", | |
// =================== CONFIG: spell check =================== | |
"cSpell.userWords": [ | |
"chakra", | |
"IUGU", | |
"middlewares", | |
"mixpanel", | |
"Onboarded", | |
"prefetch", | |
"rocketseat", | |
"upsert" | |
], | |
"cSpell.language": "en,pt", | |
"cSpell.enableFiletypes": [ | |
"!asciidoc", | |
"!c", | |
"!cpp", | |
"!csharp", | |
"!go", | |
"!handlebars", | |
"!haskell", | |
"!jade", | |
"!java", | |
"!latex", | |
"!php", | |
"!pug", | |
"!python", | |
"!restructuredtext", | |
"!rust", | |
"!scala", | |
"!scss" | |
], | |
// =================== CONFIG: prisma =================== | |
"[prisma]": { | |
"editor.formatOnSave": true, | |
"editor.defaultFormatter": "Prisma.prisma" | |
}, | |
// =================== CONFIG: tabnine =================== | |
"tabnine.experimentalAutoImports": true, | |
// =================== CONFIG: segurança =================== | |
"security.workspace.trust.untrustedFiles": "newWindow", | |
"totalTypeScript.hideAllTips": false, | |
"totalTypeScript.hideBasicTips": false, | |
"totalTypeScript.hiddenTips": [ | |
"variable-type-annotation", | |
"array-type", | |
"ts-object-type", | |
"function-return-type", | |
"passing-generics-to-types", | |
"union-type", | |
"null-keyword", | |
"type-alias-declaration", | |
"undefined-keyword", | |
"literal-type" | |
], // <== Abrir arquivos não confiáveis em uma nova janela, | |
"workbench.colorCustomizations": { | |
"tab.inactiveBackground": "#343434", | |
"tab.activeBackground": "#000000", | |
"tab.activeBorderTop": "#3e5e85", | |
"tab.activeBorder": "#365d7d", | |
"tab.unfocusedActiveBackground": "#484848", | |
"tab.unfocusedActiveBorderTop": "#6b4d9a", | |
"tab.unfocusedActiveBorder": "#3e2c5a", | |
"statusBar.background": "#000000", | |
"statusBar.noFolderBackground": "#212121", | |
"statusBar.debuggingBackground": "#263238", | |
"tab.activeBorder": "#909200", | |
// "tab.activeBackground": "#dff852", | |
"tab.unfocusedActiveBorder": "#DE354C" | |
// "tab.activeForeground": "#000000" | |
// "tab.inactiveForeground": "#818181" | |
}, | |
"workbench.colorTheme": "Atom One Dark", | |
"[html]": { | |
"editor.defaultFormatter": "vscode.html-language-features" | |
}, | |
"window.zoomLevel": 2, | |
"editor.stickyScroll.scrollWithEditor": false, | |
"workbench.tree.enableStickyScroll": false, | |
"editor.stickyScroll.enabled": false, | |
"cSpell.enabled": false, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment