Skip to content

Instantly share code, notes, and snippets.

@carlosanders
Created March 3, 2023 22:17
Show Gist options
  • Save carlosanders/52d47bd36ae58dfe49e2530ca4223e1c to your computer and use it in GitHub Desktop.
Save carlosanders/52d47bd36ae58dfe49e2530ca4223e1c to your computer and use it in GitHub Desktop.
vscode settings
{
//https://github.com/tonsky/FiraCode/wiki/VS-Code-Instructions
"editor.fontFamily": "Fira Code",
//"editor.fontFamily": "MonoLisa Regular",
//"window.zoomLevel": 0,
//"editor.fontFamily": "Cascadia Code",
//"editor.fontLigatures": "'ss02'",
"editor.fontLigatures": true,
//"editor.fontLigatures": "'calt', 'ss01'",
//"editor.fontLigatures": "'calt', 'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'zero', 'onum'",
"editor.fontWeight": "300", // Light
//"editor.fontWeight": "400" , // Regular
//"editor.fontWeight": "500", // Medium
//"editor.fontWeight": "600" , // Bold
"editor.fontSize": 18,
//"editor.lineHeight": 24,
"editor.letterSpacing": 1.1,
"editor.wordWrap": "off",
"editor.rulers": [
{ "column": 79, "color": "#fcc6c613" }, // right rule minus one
{ "column": 80, "color": "#5a5a5a80" }, // right rule
{ "column": 120, "color": "#fb4d4d40" } // extra right rule
],
"editor.minimap.enabled": true,
"files.eol": "\n",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"files.associations": {
"*.sql": "plsql",
"*.ddl": "oracle",
"*.dml": "oracle",
"*.pks": "oracle",
"*.pkb": "oracle",
"*.prc": "oracle",
"*.trg": "oracle",
"*.vw": "oracle",
"*.fnc": "oracle",
"*.json": "jsonc"
},
"workbench.colorTheme": "Dracula",
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"args": [],
"icon": "terminal-cmd"
},
"Git Bash": {
"source": "Git Bash",
"path": ["C:\\Program Files\\Git\\bin\\bash.exe"],
"icon": "terminal-bash"
},
"Windows PowerShell": {
"path": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
},
"Cmder": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"env": {
"CMDER_ROOT": "C:\\cmder"
},
"args": ["/K", "%CMDER_ROOT%\\vendor\\bin\\vscode_init.cmd"],
//"icon": "cmder"
"icon": "terminal-cmd"
}
},
//"terminal.integrated.defaultProfile.windows": "Ubuntu (WSL)",
"terminal.integrated.defaultProfile.windows": "Cmder",
"terminal.integrated.cursorStyle": "line",
"terminal.integrated.fontSize": 16, // enter your font size here
"security.workspace.trust.untrustedFiles": "open",
"editor.formatOnPaste": true,
"editor.formatOnType": true,
"editor.formatOnSave": true,
// "formattingToggle.affects": ["formatOnSave"],
"editor.codeActionsOnSave": {
//"source.fixAll": true,
"source.fixAll.eslint": true
},
// "editor.codeActionsOnSave": {
// "source.fixAll": true,
// "source.fixAll.eslint": false
// },
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
//"editor.renderLineHighlight": "gutter",
"workbench.iconTheme": "material-icon-theme",
"material-icon-theme.activeIconPack": "nest",
"material-icon-theme.folders.associations": {
"entities": "class",
"schemas": "class",
"typeorm": "database",
"repositories": "mappings",
"http": "container",
"migrations": "tools",
"notes": "tools",
"notas": "tools",
"modules": "components",
"implementations": "core",
"websockets": "pipe"
},
"material-icon-theme.files.associations": {
"ormconfig.json": "database",
"tsconfig.json": "tune"
},
"emmet.syntaxProfiles": {
"javascript": "jsx"
},
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
"files.autoSave": "onFocusChange",
//global python
"code-runner.ignoreSelection": true,
"code-runner.runInTerminal": true,
"code-runner.clearPreviousOutput": true,
// disble global para enable por projeto
//"python.testing.unittestEnabled": true,
//"python.linting.mypyEnabled": true,
//"python.linting.flake8Enabled": true,
// "[python]": {
// "editor.formatOnSave": true,
// "editor.defaultFormatter": "ms-python.python"
//},
"ProjectTree.theme": "perfect",
"ProjectTree.withComment": false,
"ProjectTree.commentDistance": 4,
"ProjectTree.loadIgnore": true,
"typescript.updateImportsOnFileMove.enabled": "always",
// disable substituir require por import em js
"javascript.validate.enable": false,
"editor.unicodeHighlight.nonBasicASCII": false,
"bracketPairColorizer.depreciation-notice": false,
"notebook.lineNumbers": "on",
"workbench.startupEditor": "none",
"[php]": {
"editor.defaultFormatter": "SimonSiefke.prettier-vscode"
},
"[blade]": {
"editor.defaultFormatter": "shufo.vscode-blade-formatter"
},
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
//"javascript.suggestionActions.enabled": false
// //php namespace
"namespaceResolver.exclude": "**/node_modules/**", // Exclude glob pattern while finding files
"namespaceResolver.showMessageOnStatusBar": false, // Show message on status bar instead of notification box
"namespaceResolver.autoSort": true, // Auto sort after imports
"namespaceResolver.sortOnSave": false, // Auto sort when a file is saved
"namespaceResolver.sortAlphabetically": false, // Sort imports in alphabetical order instead of line length
"namespaceResolver.sortNatural": false, // Sort imports using a 'natural order' algorithm
"namespaceResolver.leadingSeparator": true, // Expand class with leading namespace separator
"namespaceResolver.highlightOnSave": false, // Auto highlight not imported and not used when a file is saved
"namespaceResolver.highlightOnOpen": false, // Auto highlight not imported and not used when a file is opened
// diretiva para html
//"editor.insertSpaces": true,
//"editor.tabSize": 4,
"html.format.contentUnformatted": "pre,code,textarea",
"html.format.endWithNewline": false,
"html.format.extraLiners": "head, body, /html",
"html.format.indentHandlebars": false,
"html.format.indentInnerHtml": false,
"html.format.maxPreserveNewLines": null,
"html.format.preserveNewLines": true,
"html.format.wrapLineLength": 120,
"html.format.wrapAttributes": "auto",
"redhat.telemetry.enabled": true,
"xml.server.vmargs": "-Xmx2G",
"editor.largeFileOptimizations": false,
"todo-tree.highlights.defaultHighlight": {
"icon": "alert",
"type": "text",
"foreground": "#d10909",
"background": "#FFFFFF",
"opacity": 50,
"iconColour": "#1e03ed"
},
"todo-tree.highlights.customHighlight": {
"TODO": {
"icon": "check",
"type": "line"
},
"FIXME": {
"foreground": "#000000",
"iconColour": "#e6ec40",
"gutterIcon": true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment