Skip to content

Instantly share code, notes, and snippets.

@sujaykundu777
Created March 15, 2020 04:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sujaykundu777/54122fbf47fe9b1054bed7f453ee3b8f to your computer and use it in GitHub Desktop.
Save sujaykundu777/54122fbf47fe9b1054bed7f453ee3b8f to your computer and use it in GitHub Desktop.
VS Code Settings
{
/*************************
* EDITOR SETTINGS START *
*************************/
// format the code on hitting the save
"editor.formatOnSave": true,
// font face
"editor.fontSize": 14,
// wrap lines if went out of the view
"editor.wordWrap": "on",
// ruler settins
"editor.rulers": [80, 120],
// line height
"editor.lineHeight": 25,
// letter spacings
"editor.letterSpacing": 0.5,
// font weight
"editor.fontWeight": "600",
// cursor blinking
"editor.cursorBlinking": "blink",
"editor.renderWhitespace": "boundary",
// font family
"editor.fontFamily": "Operator Mono Lig Book, Monofur for Powerline, Fira Code, Menlo, Monaco, Hack, 'Courier New', monospace",
// making good ===, => and more
"editor.fontLigatures": true,
// format on paste
"editor.formatOnPaste": true,
// quick suggestions
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
},
// changing alt to Ctrl for multi cursors
"editor.multiCursorModifier": "ctrlCmd",
// color for current line number and indent color
"workbench.colorCustomizations": {
"editorLineNumber.activeForeground": "#87e99c",
"editorBracketMatch.background": "#87e99c",
"editorBracketMatch.border": "#87e99c",
"editorOverviewRuler.bracketMatchForeground": "#ff0000",
"editorIndentGuide.activeBackground": "#33ff00",
"editorRuler.foreground": "#ff6600"
},
"editor.snippetSuggestions": "top",
// editor tab completions of the suggestions
"editor.tabCompletion": "off",
// intellisense based on the distance of the previously used functions or parameters names
"editor.suggest.localityBonus": true,
// sort import on save
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
// ligatures and cursive fonts settings
"editor.tokenColorCustomizations": {
"textMateRules": [{
"scope": [
//following will be in italic (=FlottFlott)
"comment",
"entity.name.type.class", //class names
"keyword", //import, export, return…
"constant", //String, Number, Boolean…, this, super
"storage.modifier", //static keyword
"storage.type.class.js" //class keyword
],
"settings": {
"fontStyle": "italic"
}
},
{
"scope": [
//following will be excluded from italics (VSCode has some defaults for italics)
"invalid",
"keyword.operator",
"constant.numeric.css",
"keyword.other.unit.px.css",
"constant.numeric.decimal.js",
"constant.numeric.json"
],
"settings": {
"fontStyle": ""
}
}
]
},
/*********************
* PRETTIER SETTINGS *
*********************/
"prettier.singleQuote": true,
"prettier.eslintIntegration": true,
"prettier.htmlWhitespaceSensitivity": "ignore",
"prettier.useTabs": false,
// "prettier.disableLanguages": ["html"],
/*******************************
* DON'T KNOW WHAT IT IS DOING *
*******************************/
"keyboard.dispatch": "keyCode",
/**************************************
* STOPPING THE UPDATES NOTIFICATIONS *
**************************************/
"update.channel": "none",
/*************************************
* STOPING DELETE CONFIRMATION POPUP *
*************************************/
"explorer.confirmDelete": false,
/**************
* FILE ICONS *
**************/
"workbench.iconTheme": "material-icon-theme",
/**************
* ZOOM LEVEL *
**************/
"window.zoomLevel": 0,
"javascript.validate.enable": false,
"javascript.format.enable": false,
/********************************
* TRIMING WHITE SPACES ON SAVE *
********************************/
"files.trimTrailingWhitespace": true,
"explorer.confirmDragAndDrop": false,
"files.associations": {
"*Container.js": "javascriptreact",
"**/components/*/*.js": "javascriptreact",
"**/config/routes.js": "javascriptreact",
"*.js": "javascriptreact"
},
/***************************
* SUBTLEBRACKETS SETTINGS *
***************************/
// "subtleBrackets.styles": {
// "global": {
// "color": "yellow",
// "borderColor": "blue",
// "borderWidth": "2px",
// "borderStyle": "none none solid none"
// }
// },
/*******************
* EMMETS SETTINGS *
*******************/
"emmet.showExpandedAbbreviation": "never",
"emmet.triggerExpansionOnTab": true,
"emmet.includeLanguages": {
"markdown": "html",
"javascript": "javascriptreact"
},
"emmet.showSuggestionsAsSnippets": true,
/*************************
* FILES TO WATCH OR NOT *
*************************/
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true
},
/****************************
* BETTER COMMENTS SETTINGS *
****************************/
"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 SETTINGS *
****************/
"git.inputValidation": "always",
"sync.gist": "123",
"sync.quietSync": false,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.forceDownload": false,
"explorer.openEditors.visible": 0,
/*******************
* SEARCH SETTINGS *
*******************/
// files to exclude on search
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/coverage": true,
"**/ps.txt": true,
"**/TODO": true,
"**/TODO_archive": true
},
"search.showLineNumbers": true,
/**********************
* VSCODEVIM SETTINGS *
**********************/
"vim.leader": "<Space>",
"vim.easymotion": true,
"vim.sneak": true,
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
// "vim.searchHighlightColor": "#00cc44a8",
"vim.searchHighlightColor": "#ff7b00a1",
"vim.highlightedyank.enable": true,
"vim.highlightedyank.color": "rgba(250, 240, 170, 0.5)",
"vim.normalModeKeyBindingsNonRecursive": [{
"commands": ["workbench.action.files.save"],
"before": ["<Leader>", ","]
},
// {
// "before": [":"],
// "commands": ["workbench.action.showCommands"]
// },
{
"before": ["Z", "Z"],
"commands": [":wq"]
},
{
"before": ["<C-h>"],
"commands": [":nohl"]
},
{
"before": [">"],
"commands": ["editor.action.indentLines"]
},
{
"before": ["<"],
"commands": ["editor.action.outdentLines"]
}
],
"vim.visualModeKeyBindingsNonRecursive": [{
"before": [">"],
"commands": ["editor.action.indentLines"]
},
{
"before": ["<"],
"commands": ["editor.action.outdentLines"]
}
],
"vim.enableNeovim": true,
"vim.neovimPath": "/home/linuxbrew/.linuxbrew/bin/nvim",
/*************************
* SLIDER ON THE MINIMAP *
*************************/
"editor.minimap.showSlider": "always",
/******************
* TODO+ SETTINGS *
******************/
"todo.timekeeping.created.enabled": true,
"todo.timekeeping.created.format": "ddd MM/DD/YYYY - hh:mm A",
"[todo]": {
"editor.wordWrap": "on",
"editor.lineNumbers": "on"
},
/*****************
* LESS SETTINGS *
*****************/
"[less]": {
"editor.formatOnSave": false
},
"editor.smoothScrolling": true,
"editor.mouseWheelScrollSensitivity": 2,
"aceJump.finder.onlyInitialLetter": false,
"aceJump.placeholder.fontSize": 22,
"aceJump.placeholder.height": 22,
"aceJump.placeholder.width": 22,
"aceJump.placeholder.textPosY": 17,
"aceJump.placeholder.textPosX": 4,
"aceJump.placeholder.backgroundColor": "cyan",
"editor.showFoldingControls": "always",
"workbench.statusBar.feedback.visible": false,
"git.confirmSync": false,
"aceJump.placeholder.fontFamily": "Hack",
"git.autofetch": true,
"gitlens.outputLevel": "errors",
"less.validate": false,
"workbench.editor.enablePreview": false,
"workbench.editor.enablePreviewFromQuickOpen": false,
"todo.colors.done": "#75715e",
"todo.colors.cancelled": "#75715e",
"todo.colors.tag": "#74c2e6",
"todo.statistics.project.enabled": "false",
"aceJump.finder.skipSelection": true,
"eslint.options": {
"configFile": "./.eslintrc"
},
"editor.renderIndentGuides": false,
/************************
* BRACKETPAIRCOLORIZER *
************************/
"bracketPairColorizer.forceUniqueOpeningColor": true,
"bracketPairColorizer.highlightActiveScope": true,
"bracketPairColorizer.scopeLineCSS": [
"borderStyle : solid",
"borderWidth : 1px",
"borderColor : #ff6600",
"opacity: 0.5",
"backgroundColor: #ff6600"
],
"bracketPairColorizer.showBracketsInGutter": true,
"bracketPairColorizer.showVerticalScopeLine": true,
"bracketPairColorizer.showHorizontalScopeLine": false,
"bracketPairColorizer.forceIterationColorCycle": true,
"workbench.startupEditor": "welcomePage",
"javascript.updateImportsOnFileMove.enabled": "always",
/******************
* REWRAP SETTING *
******************/
"rewrap.autoWrap.enabled": true,
"git.enableSmartCommit": true,
"workbench.colorTheme": "Cobalt2",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.minimap.renderCharacters": false,
"editor.minimap.maxColumn": 200,
"editor.cursorSmoothCaretAnimation": true,
"workbench.tips.enabled": false,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"zenMode.centerLayout": false,
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"breadcrumbs.enabled": false,
"liveshare.featureSet": "insiders",
"peacock.favoriteColors": [{
"name": "Angular Red",
"value": "#b52e31"
},
{
"name": "Auth0 Orange",
"value": "#eb5424"
},
{
"name": "Azure Blue",
"value": "#007fff"
},
{
"name": "C# Purple",
"value": "#68217A"
},
{
"name": "Gatsby Purple",
"value": "#639"
},
{
"name": "Java Blue-Gray",
"value": "#557c9b"
},
{
"name": "JavaScript Yellow",
"value": "#f9e64f"
},
{
"name": "Mandalorian Blue",
"value": "#1857a4"
},
{
"name": "Node Green",
"value": "#215732"
},
{
"name": "React Blue",
"value": "#00b3e6"
},
{
"name": "Something Different",
"value": "#832561"
},
{
"name": "Vue Green",
"value": "#42b883"
}
],
"typescript.updateImportsOnFileMove.enabled": "always",
"editor.matchBrackets": false,
"terminal.integrated.rendererType": "dom"
/***************************
* INDENT RAINBOW SETTINGS *
***************************/
// "indentRainbow.colors": [
// "rgba(16,16,16,0.1)",
// "rgba(16,16,16,0.2)",
// "rgba(16,16,16,0.3)",
// "rgba(16,16,16,0.4)",
// "rgba(16,16,16,0.5)",
// "rgba(16,16,16,0.6)",
// "rgba(16,16,16,0.7)",
// "rgba(16,16,16,0.8)",
// "rgba(16,16,16,0.9)",
// "rgba(16,16,16,1.0)"
// ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment