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",
"workbench.colorTheme": "Dracula Pro",
"workbench.iconTheme": "material-icon-theme",
// Good for Recording
"editor.quickSuggestions": false,
"editor.mouseWheelZoom": true,
"editor.renderLineHighlight": "gutter",
"breadcrumbs.enabled": true,
// Window settings
"window.zoomLevel": 1,
"window.titleBarStyle": "native", // "native" on Linux, "custom" on Windows
"window.menuBarVisibility": "toggle",
// Disable JS auto-import behavior
"javascript.updateImportsOnFileMove.enabled": "never",
// Editor Behavior
"editor.selectionClipboard": false, // Only for Linux
"javascript.suggest.autoImports": false,
"editor.formatOnSave": true,
"editor.suggestSelection": "first",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
// Explorer Behavior
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
// Sets the Font size and family
"editor.fontFamily": "Fira Code",
"editor.fontSize": 16,
"editor.lineHeight": 24,
"editor.fontLigatures": true,
// 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
],
// Increases terminal font size
"terminal.integrated.fontSize": 14,
// ESLint configuration
"eslint.packageManager": "yarn",
"eslint.codeActionsOnSave.mode": "all",
"prettier.singleQuote": true,
"prettier.trailingComma": "es5",
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
// Emmet
"emmet.syntaxProfiles": {
"javascript": "jsx" // Defines auto closing tags in JSX
},
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
// Git settings
"git.enableSmartCommit": true,
"git.autofetch": true,
"git.confirmSync": false,
// Extensions
"extensions.ignoreRecommendations": false, // Do not ignore recommendations
// 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"
},
// 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,
// Peacock colors (customizable)
"peacock.favoriteColors": [
{
"name": "Rocketseat Purple",
"value": "#7159C1"
},
{
"name": "Dracula Dark",
"value": "#0B0A10"
},
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment