Skip to content

Instantly share code, notes, and snippets.

@rcostabrava001
Forked from guilhermerodz/argv.json
Created February 17, 2021 00:20
Show Gist options
  • Save rcostabrava001/ffcd5015bdae2fb11a8cd7c17ab8ec27 to your computer and use it in GitHub Desktop.
Save rcostabrava001/ffcd5015bdae2fb11a8cd7c17ab8ec27 to your computer and use it in GitHub Desktop.
VSCode setup
{
"workbench.startupEditor": "none",
// Color theme
"workbench.colorTheme": "Dracula",
// Icon theme
"workbench.iconTheme": "material-icon-theme",
// Hide quick suggestions (recommended for recording and teaching)
"editor.quickSuggestions": false,
// Reset Zoom level for VSCode
"window.zoomLevel": 0,
// Set VSCode title bar style
"window.titleBarStyle": "native",
"window.menuBarVisibility": "toggle",
// Avoid asking DnD
"explorer.confirmDragAndDrop": false,
// Set font size, line height, ligatures and family
"editor.fontFamily": "Fira Code",
"editor.fontSize": 16,
"editor.lineHeight": 24,
"editor.fontLigatures": true,
// Editor settings
"editor.formatOnSave": true,
"editor.suggestSelection": "first",
"editor.selectionClipboard": false,
// Editor indentation settings
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.detectIndentation": true,
// Auto applies editor rules for long lines of code
"editor.rulers": [80, 120],
// Enable controlled zoom by scrolling
"editor.mouseWheelZoom": true,
// Applies a visual effect at the left of selected line
"editor.renderLineHighlight": "gutter",
// Set terminal font size
"terminal.integrated.fontSize": 14,
// ESLint configuration
"prettier.singleQuote": true,
"prettier.trailingComma": "es5",
"eslint.packageManager": "yarn",
"eslint.codeActionsOnSave.mode": "all",
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
// Emmet
"emmet.syntaxProfiles": {
"javascript": "jsx" // Defines auto closing tags in JSX
},
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
// Disable auto imports
"javascript.suggest.autoImports": false,
"javascript.updateImportsOnFileMove.enabled": "never",
// Enable breadcrumbs
"breadcrumbs.enabled": true,
// Git settings
"git.enableSmartCommit": true,
"git.autofetch": true,
// Colorize settings
"colorize.languages": ["javascript", "json", "html", "css"],
// Pretier settings
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
// VSCode explorer settings
"explorer.confirmDelete": false,
// GitLens settings
"gitlens.views.repositories.location": "gitlens",
"gitlens.views.fileHistory.location": "gitlens",
"gitlens.views.lineHistory.location": "gitlens",
"gitlens.views.compare.location": "gitlens",
"gitlens.views.search.location": "gitlens",
"gitlens.codeLens.enabled": false,
// Git options
"git.confirmSync": false,
// Do not ignore extensions recommendations
"extensions.ignoreRecommendations": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment