mayannait

Configurações do VS Code

Mar 6th, 2021
882
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   // Configurações para uso do Visual Studio Code
  3.   // Preview, abre o script em uma nova aba
  4.   "workbench.editor.enablePreview": false,
  5.   "workbench.editor.enablePreviewFromQuickOpen": false,
  6.   // Tira linha branca do final
  7.   "files.trimFinalNewlines": true,
  8.   // Cursor
  9.   "editor.cursorStyle": "line",
  10.   "editor.cursorBlinking": "smooth",
  11.   // Organiza arquivos pelo tipo
  12.   "explorer.sortOrder": "type",
  13.   // Ocultar a barra lateral
  14.   "autoHide.autoHideSideBar": true,
  15.   "autoHide.autoHidePanel": false,
  16.   "autoHide.sideBarDelay": false,
  17.   "autoHide.panelDelay": true,
  18.   "autoHide.hideOnOpen": false,
  19.   // Sinaliza tab não salva
  20.   "workbench.editor.highlightModifiedTabs": true,
  21.   // Terminal
  22.   "terminal.integrated.fontSize": 14,
  23.   "terminal.integrated.fontFamily": "Hack, Hack Nerd Font Mono, Fira Code, Fira Sans",
  24.   "terminal.integrated.lineHeight": 1,
  25.   // Editor font e zoom do editor
  26.   "editor.fontSize": 18,
  27.   "editor.fontLigatures": true,
  28.   "editor.fontFamily": "Hack, Hack Nerd Font Mono, Fira Code, Fira Sans",
  29.   "window.zoomLevel": -1,
  30.   // Mini mapa
  31.   "editor.minimap.enabled": false,
  32.   // Salvar aquivo
  33.   "files.autoSave": "afterDelay",
  34.   // Notificações na inicialização
  35.   "kite.showWelcomeNotificationOnStartup": false,
  36.   "explorer.confirmDragAndDrop": false,
  37.   // Quebra de linhas
  38.   "editor.wordWrap": "on",
  39.   // Fechar parênteses automaticamente
  40.   "editor.autoClosingBrackets": "always",
  41.   // O diff com ou sem espaços brancos
  42.   "diffEditor.ignoreTrimWhitespace": false,
  43.   // Ignorar recomendações de extenções
  44.   "extensions.ignoreRecommendations": true,
  45.   // Confimação antes de deletar
  46.   "explorer.confirmDelete": true,
  47.   "[html]": {
  48.   // Padrão para formatar usar o Beautify
  49.     "editor.defaultFormatter": "HookyQR.beautify"
  50.   },
  51.   "editor.tabSize": 2,
  52.   "html.format.indentInnerHtml": true,
  53.   // Tema e ícones
  54.   "workbench.colorTheme": "Dracula",
  55.   "material-icon-theme.folders.color": "#42a5f5",
  56.   "workbench.iconTheme": "material-icon-theme",
  57.   //Auto completa o código
  58.   "tabnine.experimentalAutoImports": true,
  59.   // Fechar tag automaticamente
  60.   "auto-close-tag.enableAutoCloseTag": true,
  61.   // Formatar o HTML
  62.   "html.format.enable": true,
  63.   // Mostra o caminho até o arquivo em uso
  64.   "breadcrumbs.enabled": true,
  65.   // Verificar atualização dos plugins automaticamente
  66.   "extensions.autoCheckUpdates": true,
  67.   // Dicas do editor
  68.   "editor.parameterHints.enabled": false,
  69.   // Configurações para uso do Django Template
  70.   // Associação do Django com HTML
  71.   "files.associations": {
  72.     "**/*.html": "html",
  73.     "**/templates/*/*.html": "django-html",
  74.     "**/templates/*": "django-txt",
  75.     "**/requirements{/**,*}.{txt,in}": "pip-requirements"
  76. },
  77.  
  78.   "emmet.includeLanguages": {
  79.     "django-html": "html",
  80.     "django-txt": "html"
  81. },
  82.   // Formatar com Beautify
  83.   "beautify.language": {
  84.     "html": [
  85.         "htm",
  86.         "html",
  87.         "django-html",
  88.         "django-txt"
  89.     ]
  90.   },
  91.  
  92.   // ----
  93.   // Configurações do Todo Tree
  94.   "todo-tree.highlights.backgroundColourScheme": [
  95.     "red",
  96.     "orange",
  97.     "yellow",
  98.     "green",
  99.     "blue",
  100.     "indigo",
  101.     "lime",
  102.     "navy",
  103.     "olive",
  104.     "violet",
  105.     "salmon",
  106.     "turquoise",
  107.     "chocolate",
  108.     "plum",
  109.     "cyan"
  110.   ],
  111.   "todo-tree.general.tags": [
  112.     "TODO",
  113.     "FIXME",
  114.     "COMPLETE",
  115.     "BUG",
  116.     "HACK",
  117.     "ERROR",
  118.     "TEST",
  119.     "NOTE",
  120.     "function"
  121.   ],
  122.   "todo-tree.highlights.foregroundColourScheme": [
  123.     "white",
  124.     "black",
  125.     "red",
  126.     "green",
  127.     "palegreen",
  128.     "purple"
  129.   ],
  130.  
  131. // Configurações do Todo Tree
  132. // Configuração padrão para todas as tags
  133. // "todo-tree.highlights.defaultHighlight": {
  134. //   "icon": "alert",
  135. //   "type": "text",
  136. //   "foreground": "red",
  137. //   "background": "white",
  138. //   "opacity": 50,
  139. //   "iconColour": "blue"
  140. // },
  141.  
  142. // Configuração de cada tag do Todo Tree
  143. "todo-tree.highlights.customHighlight": {
  144.   "TODO": {
  145.       "icon": "alert",
  146.   "type": "text",
  147.   "foreground": "red",
  148.   // "background": "white",
  149.   "opacity": 50,
  150.   "iconColour": "red"
  151.   },
  152.   "FIXME": {
  153.     "icon": "tool",
  154.     "type": "text",
  155.     "foreground": "orange",
  156.     // "background": "white",
  157.     "opacity": 50,
  158.     "iconColour": "orange"
  159.   },
  160.   "BUG": {
  161.     "icon": "bug",
  162.     "type": "text",
  163.     "foreground": "lime",
  164.     // "background": "white",
  165.     "opacity": 50,
  166.     "iconColour": "lime"
  167.   },
  168.   "NOTE": {
  169.     "icon": "pencil",
  170.     "type": "text",
  171.     "foreground": "violet",
  172.     // "background": "white",
  173.     "opacity": 50,
  174.     "iconColour": "violet"
  175.   },
  176.   "HACK": {
  177.     "icon": "file-code",
  178.     "type": "text",
  179.     "foreground": "red",
  180.     // "background": "white",
  181.     "opacity": 50,
  182.     "iconColour": "blue"
  183.   },
  184.   "TEST": {
  185.     "icon": "beaker",
  186.     "type": "text",
  187.     "foreground": "turquoise",
  188.     // "background": "white",
  189.     "opacity": 50,
  190.     "iconColour": "turquoise"
  191.   },
  192.   "ERROR": {
  193.     "icon": "x-circle-fill",
  194.     "type": "text",
  195.     "foreground": "plum",
  196.     // "background": "white",
  197.     "opacity": 50,
  198.     "iconColour": "plum"
  199.   },
  200.   "function": {
  201.     "icon": "code",
  202.     "type": "text",
  203.     "foreground": "red",
  204.     // "background": "white",
  205.     "opacity": 50,
  206.     "iconColour": "red"
  207.   },
  208.   "COMPLETE": {
  209.     "icon": "star-fill",
  210.     "type": "text",
  211.     "foreground": "red",
  212.     // "background": "white",
  213.     "opacity": 50,
  214.     "iconColour": "blue"
  215.   }
  216. }
  217. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×