Skip to content

Instantly share code, notes, and snippets.

@eltonsantos
Created May 14, 2023 02:34
Show Gist options
  • Save eltonsantos/de1e7e818ad8ab96dcf955f2ffdf6b0c to your computer and use it in GitHub Desktop.
Save eltonsantos/de1e7e818ad8ab96dcf955f2ffdf6b0c to your computer and use it in GitHub Desktop.
Backup of the Settings.json 2023
{
// =================== CONFIG: Basicas do vscode ===================
"workbench.startupEditor": "none", // <== Não abrir o arquivo de boas vindas
"screencastMode.onlyKeyboardShortcuts": true,
"breadcrumbs.enabled": true,
"window.zoomLevel": 0,
"workbench.sideBar.location": "left", // <== Posição da barra lateral
"workbench.iconTheme": "symbols", // <== Tema dos icones
"workbench.colorTheme": "Min Dark",
"workbench.productIconTheme": "fluent-icons",
"glassit.alpha": 241,
"workbench.tree.indent": 5,
"files.maxMemoryForLargeFilesMB": 12288, // Quanto de memória o VSCode irá consumir
// =================== 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",
"erb": "html" // Para arquivos erb
},
// =================== CONFIG: ruby on rails and erb files ===================
"emmet.showAbbreviationSuggestions": true,
"emmet.showSuggestionsAsSnippets": true,
"[erb]": {
"editor.defaultFormatter":"aliariff.vscode-erb-beautify" ,
},
"[html]": {
"editor.defaultFormatter": "aliariff.vscode-erb-beautify",
},
// =================== CONFIG: arquivos e pastas ===================
"files.autoSave": "afterDelay", // <== Salvar automaticamente
"files.associations": {
".sequelizerc": "javascript",
".stylelintrc": "json",
"*.tsx": "typescriptreact",
".env.*": "dotenv",
".prettierrc": "json",
"*.erb": "erb" // Para arquivos erb
},
"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": "off",
"typescript.suggest.autoImports": true,
"typescript.updateImportsOnFileMove.enabled": "never",
// =================== 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
],
// "php.validate.executablePath": "", // <== Linhas guias
"editor.fontSize": 18, // <== Tamanho da fonte
"editor.tabSize": 2, // <== Tamanho da tabulação
"editor.lineHeight": 26, // <== Altura da linha
"editor.fontFamily": "Fira Code", // <== Fonte
"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.stickyScroll.enabled": false,
"editor.minimap.enabled": true,
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": "active",
"editor.wordWrap": "on",
// =================== CONFIG: terminal linux/windows ===================
"terminal.integrated.fontSize": 16,
"terminal.integrated.tabs.enabled": true,
"terminal.integrated.defaultProfile.windows": "Git Bash",
"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash",
"icon": "terminal-bash"
},
"zsh": {
"path": "zsh"
},
"fish": {
"path": "fish"
},
"tmux": {
"path": "tmux",
"icon": "terminal-tmux"
},
"pwsh": {
"path": "pwsh",
"icon": "terminal-powershell"
}
},
"terminal.integrated.fontFamily": "Fira Code",
"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": false, // Precisei colocar false para trabalhar com arquivos pesados
"editor.codeActionsOnSave": {
"source.fixAll.eslint": false, // Precisei colocar false para trabalhar com arquivos pesados
"source.organizeImports": false // Precisei colocar false para trabalhar com arquivos pesados
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": false, // Precisei colocar false para trabalhar com arquivos pesados
"editor.formatOnPaste": false, // Precisei colocar false para trabalhar com arquivos pesados
"editor.inlineSuggest.enabled": false, // Precisei colocar false para trabalhar com arquivos pesados
"git.confirmSync": false,
"github.copilot.enable": {
"*": true,
"yaml": false,
"plaintext": false,
"markdown": true,
"javascript": true,
"python": true,
"javascriptreact": true
},
"colorize.languages": [
"css",
"sass",
"scss",
"less",
"postcss",
"sss",
"stylus",
"xml",
"svg",
"javascript",
"typescript",
"tsx"
],
"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",
"bracketPairColorizer.depreciation-notice": false,
"react-native-tools.showUserTips": false,
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"liveServer.settings.donotShowInfoMsg": true,
"terminal.integrated.defaultProfile.linux": "zsh",
"[php]": {
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
},
"vsicons.dontShowNewVersionMessage": true,
"terminal.integrated.env.linux": {},
"[python]": {
"editor.formatOnType": true
},
"git.openRepositoryInParentFolders": "never",
"console-ninja.showWhatsNew": false,
"console-ninja.featureSet": "Community"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment