Created
January 25, 2024 08:02
-
-
Save lalitmee/22bd7e6c3ae727253f6c809a4801dc02 to your computer and use it in GitHub Desktop.
vscode settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// ============ | |
// EDITOR | |
// ============ | |
"editor.cursorBlinking": "blink", | |
"editor.cursorSmoothCaretAnimation": "on", | |
"editor.cursorWidth": 2, | |
"editor.fontFamily": "Operator Mono Lig Book, CodeNewRoman Nerd Font, Inconsolata, Menlo, Consolas, Fira Code, Monaco, Hack, 'Courier New', monospace", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 15, | |
"editor.fontWeight": "500", | |
"editor.formatOnPaste": true, | |
"editor.formatOnSave": true, | |
"editor.formatOnType": true, | |
"editor.guides.indentation": false, | |
// "editor.letterSpacing": 1, | |
"editor.lineHeight": 1.2, | |
"editor.lineNumbers": "relative", | |
"editor.linkedEditing": true, | |
"editor.matchBrackets": "never", | |
"editor.minimap.maxColumn": 100, | |
"editor.minimap.renderCharacters": false, | |
"editor.minimap.showSlider": "always", | |
"editor.mouseWheelScrollSensitivity": 2, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.renderWhitespace": "none", | |
"editor.showFoldingControls": "always", | |
"editor.showUnused": true, | |
"editor.smoothScrolling": true, | |
"editor.snippetSuggestions": "top", | |
"editor.suggest.localityBonus": true, | |
"editor.suggestSelection": "first", | |
"editor.tabCompletion": "off", | |
"editor.wordWrap": "on", | |
"editor.quickSuggestions": { | |
"other": true, | |
"comments": true, | |
"strings": true | |
}, | |
"editor.codeActionsOnSave": { | |
// "source.organizeImports": true | |
}, | |
"editor.tokenColorCustomizations": { | |
"textMateRules": [ | |
{ | |
"scope": [ | |
"comment", | |
"entity.name.type.class", //class names | |
"entity.other.attribute-name", // html attributes | |
"keyword", //import, export, return… | |
"constant", //String, Number, Boolean… | |
"variable.language", //this, super | |
"storage.type" //class keyword | |
], | |
"settings": { | |
"fontStyle": "italic" | |
} | |
}, | |
{ | |
"scope": [ | |
"invalid", | |
"keyword.operator", | |
"constant.numeric.css", | |
"keyword.other.unit.px.css", | |
"constant.numeric.decimal.js", | |
"constant.numeric.json" | |
], | |
"settings": { | |
"fontStyle": "" | |
} | |
} | |
] | |
}, | |
// ============ | |
// WORKBENCH | |
// ============ | |
"workbench.iconTheme": "material-icon-theme", | |
"workbench.editor.enablePreview": false, | |
"workbench.editor.enablePreviewFromQuickOpen": false, | |
"workbench.tips.enabled": false, | |
"workbench.sideBar.location": "right", | |
"workbench.startupEditor": "none", | |
"workbench.productIconTheme": "material-product-icons", | |
"workbench.colorTheme": "Cobalt2", | |
"workbench.colorCustomizations": { | |
"editorLineNumber.activeForeground": "#ffd000", | |
"editorBracketMatch.border": "#ff6600", | |
"editorOverviewRuler.bracketMatchForeground": "#ff6600", | |
"editorIndentGuide.activeBackground1": "#33ff00", | |
"editorRuler.foreground": "#ffd000" | |
}, | |
// ============ | |
// EXPLORER | |
// ============ | |
"explorer.confirmDelete": false, | |
"explorer.confirmDragAndDrop": false, | |
// ============ | |
// EXTENSIONS | |
// ============ | |
"extensions.confirmedUriHandlerExtensionIds": [ | |
"GitHub.vscode-pull-request-github" | |
], | |
// ============ | |
// KEYBOARD | |
// ============ | |
"keyboard.dispatch": "keyCode", | |
// ============ | |
// FILES | |
// ============ | |
"files.trimTrailingWhitespace": true, | |
"files.associations": { | |
"*Container.js": "javascriptreact", | |
"**/components/*/*.js": "javascriptreact", | |
"**/config/routes.js": "javascriptreact", | |
"*.js": "javascript" | |
}, | |
"files.exclude": { | |
"**/.git/objects/**": true, | |
"**/.git/subtree-cache/**": true, | |
"**/dist/**": true, | |
"**/node_modules/**": true, | |
"**/node_modules/*/**": true, | |
"**/tmp/**": true | |
}, | |
"files.watcherExclude": { | |
"**/.git/objects/**": true, | |
"**/.git/subtree-cache/**": true, | |
"**/dist/**": true, | |
"**/node_modules/**": true, | |
"**/tmp/**": true, | |
"**/node_modules/*/**": true | |
}, | |
// ============ | |
// SEARCH | |
// ============ | |
"search.exclude": { | |
"**/node_modules/**": true, | |
"**/bower_components": true, | |
"**/dist/**": true, | |
"**/tmp/**": true, | |
"**/.git/objects/**": true, | |
"**/.git/subtree-cache/**": true | |
}, | |
"search.showLineNumbers": true, | |
// ============ | |
// VIM | |
// ============ | |
"vim.easymotionMarkerFontWeight": "600", | |
"vim.sneak": true, | |
"vim.incsearch": true, | |
"vim.useCtrlKeys": true, | |
"vim.hlsearch": true, | |
"vim.statusBarColorControl": false, | |
"vim.easymotion": true, | |
"vim.useSystemClipboard": true, | |
"vim.normalModeKeyBindingsNonRecursive": [ | |
{ | |
"before": ["<space>"], | |
"commands": ["vspacecode.space"] | |
}, | |
{ | |
"before": [","], | |
"commands": [ | |
"vspacecode.space", | |
{ | |
"command": "whichkey.triggerKey", | |
"args": "m" | |
} | |
] | |
} | |
], | |
"vim.visualModeKeyBindingsNonRecursive": [ | |
{ | |
"before": ["<space>"], | |
"commands": ["vspacecode.space"] | |
}, | |
{ | |
"before": [","], | |
"commands": [ | |
"vspacecode.space", | |
{ | |
"command": "whichkey.triggerKey", | |
"args": "m" | |
} | |
] | |
} | |
], | |
"update.mode": "none", | |
"better-comments.highlightPlainText": true, | |
"better-comments.tags": [ | |
{ | |
"tag": "!", | |
"color": "#FF2D00", | |
"strikethrough": false, | |
"backgroundColor": "transparent" | |
}, | |
{ | |
"tag": "?", | |
"color": "#dbdb34", | |
"strikethrough": false, | |
"backgroundColor": "transparent" | |
}, | |
{ | |
"tag": "//", | |
"color": "#474747", | |
"strikethrough": true, | |
"backgroundColor": "transparent" | |
}, | |
{ | |
"tag": "todo", | |
"color": "#FF8C00", | |
"strikethrough": false, | |
"backgroundColor": "transparent" | |
}, | |
{ | |
"tag": "*", | |
"color": "#98C379", | |
"strikethrough": false, | |
"backgroundColor": "transparent" | |
} | |
], | |
// ============ | |
// GIT | |
// ============ | |
"git.inputValidation": "always", | |
"git.confirmSync": false, | |
"git.autofetch": true, | |
"git.enableSmartCommit": true, | |
// ============ | |
// GITLENS | |
// ============ | |
"gitlens.outputLevel": "error", | |
// ============ | |
// PROJECT MANAGER | |
// ============ | |
"projectManager.any.maxDepthRecursion": 2, | |
"projectManager.git.baseFolders": ["\"/home/lalitmee\""], | |
"projectManager.any.baseFolders": [ | |
"~/dotfiles", | |
"~/Desktop/Github", | |
"~/Desktop/koinearth" | |
], | |
// ============ | |
// EMMET | |
// ============ | |
"emmet.showExpandedAbbreviation": "never", | |
"emmet.triggerExpansionOnTab": true, | |
"emmet.includeLanguages": { | |
"markdown": "html", | |
"javascript": "javascriptreact" | |
}, | |
"emmet.showSuggestionsAsSnippets": true, | |
// ============ | |
// LANGUAGES | |
// ============ | |
// - HTML | |
"[html]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
// - JSON or JSONC | |
"[json]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[jsonc]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
// GO | |
"go.formatTool": "goimports", | |
"go.useLanguageServer": true, | |
// - python | |
"python.languageServer": "Default", | |
// - javascript | |
"javascript.validate.enable": false, | |
"javascript.format.enable": false, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"javascript.preferences.importModuleSpecifier": "non-relative", | |
"[javascript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
// - typescript | |
"[typescript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"typescript.updateImportsOnFileMove.enabled": "always", | |
// - lua | |
"Lua.diagnostics.globals": ["vim"], | |
// - less | |
"[less]": { | |
"editor.formatOnSave": false | |
}, | |
"less.validate": false, | |
// - TODO | |
"[todo]": { | |
"editor.wordWrap": "on", | |
"editor.lineNumbers": "on" | |
}, | |
// ============ | |
// MISCLLENEOUS | |
// ============ | |
"breadcrumbs.enabled": false, | |
"problems.showCurrentInStatus": true, | |
"terminal.integrated.cursorBlinking": true, | |
"vsicons.dontShowNewVersionMessage": true, | |
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", | |
"window.menuBarVisibility": "toggle", | |
"zenMode.centerLayout": false, | |
"lldb.suppressUpdateNotifications": true, | |
"editor.inlineSuggest.suppressSuggestions": true, | |
"go.toolsManagement.autoUpdate": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment