Skip to content

Instantly share code, notes, and snippets.

@jaredwilli
Created September 8, 2022 14:49
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 jaredwilli/bd6820c790fa44b48cdb63d0039241a0 to your computer and use it in GitHub Desktop.
Save jaredwilli/bd6820c790fa44b48cdb63d0039241a0 to your computer and use it in GitHub Desktop.
Updated VS Code settings.json
{
"workbench.colorTheme": "Blackboard",
"security.workspace.trust.untrustedFiles": "open",
"workbench.iconTheme": "material-icon-theme",
"sync.gist": "4fe702ad17b04106241a9237b6dff85e",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"debug.allowBreakpointsEverywhere": true,
"debug.inlineValues": "on",
"files.autoSave": "onFocusChange",
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"editor.cursorStyle": "line-thin",
"editor.wordWrap": "on",
"editor.wordWrapColumn": 80,
"editor.wrappingIndent": "indent",
"editor.minimap.enabled": true,
"editor.snippetSuggestions": "top",
"editor.tabCompletion": "on",
"editor.fontSize": 14,
"window.zoomLevel": 0,
"workbench.commandPalette.history": 0,
"css.lint.duplicateProperties": "warning",
"html.format.endWithNewline": true,
// Configure glob patterns for excluding files and folders in searches. Inherits all glob patterns from the files.exclude setting.
"search.exclude": {
},
"window.restoreWindows": "all",
"workbench.fontAliasing": "default",
"workbench.startupEditor": "newUntitledFile",
"workbench.commandPalette.preserveInput": true,
"workbench.settings.openDefaultSettings": true,
"prettier.tabWidth": 4,
"prettier.singleQuote": true,
"prettier.useTabs": true,
"prettier.bracketSameLine": true,
"prettier.jsonEnable": [
"json",
"javascript",
"sass",
"css",
"html"
],
"workbench.statusBar.visible": true,
"[javascriptreact]": {
},
"javascript.validate.enable": false,
// eslint
"eslint.enable": true,
"eslint.packageManager": "yarn",
"typescript.check.npmIsInstalled": false,
"emmet.showExpandedAbbreviation": "never",
"editor.multiCursorModifier": "ctrlCmd",
// auto import dependencies
"vscode-exports-autocomplete.enable": "enable",
// set this to a higher value if 'on paste' is too aggressive for you
"vscode-exports-autocomplete.minimumWordLengthToImportOnPaste": 1,
// set this to false when you're annoyed by the stuff you get from your npm modules*
"vscode-exports-autocomplete.enableNpmDependencies": true,
// set this to true when you prefer spaces around curly braces
"vscode-exports-autocomplete.addSpacingAroundCurlyBraces": true,
// string to be used when indenting, default is two spaces
"vscode-exports-autocomplete.indentationOverride": "",
// Scans builtin modules as well
"node-module-intellisense.scanBuiltinModules": true,
// Scans devDependencies as well
"node-module-intellisense.scanDevDependencies": true,
// Scans file modules as well
"node-module-intellisense.scanFileModules": true,
/**
* Scans alternative module paths (eg. Search on ${workspcaceRoot}/lib).
* Useful when using packages like (https://www.npmjs.com/package/app-module-path) to manage require paths folder.
**/
"node-module-intellisense.modulePaths": [],
// File module extensions
"node-module-intellisense.fileModuleExtensions": [
".js",
".jsx",
".ts",
".d.ts",
".tsx",
".vue",
".json"
],
// Bracket colorizer
"bracketPairColorizer.forceUniqueOpeningColor": true,
"bracketPairColorizer.forceIterationColorCycle": true,
// Git project manager
"gitProjectManager.baseProjectsFolders": [
"/Users/jaredw/Sites/_play/react/webernote",
"/Users/jaredw/Sites/_play/react/playground"
],
// TODO Highlight
"todohighlight.isEnable": true,
"todohighlight.isCaseSensitive": true,
"todohighlight.keywords": [
"DEBUG:",
"REVIEW:", {
"text": "NOTE:",
"backgroundColor": "#dafa0c",
"color": "#000",
"overviewRulerColor": "grey"
}, {
"text": "FIXME:",
"backgroundColor": "#ff62be",
"color": "#fff",
"isWholeLine": false
}, {
"text": "HACK:",
"backgroundColor": "#ffab00",
"color": "#000",
"isWholeLine": false
}, {
"text": "TODO:",
"backgroundColor": "rgba(0, 0, 0, 0.2)",
"border": "1px solid #000",
"color": "red",
//NOTE: using borderRadius along with `border` or you will see nothing change
"borderRadius": "2px"
}
],
// highlight `TODO:`,`FIXME:` or content between parentheses
// "todohighlight.keywordsPattern": "TODO:|FIXME:|\\(([^)]+)\\)",
"todohighlight.defaultStyle": {
"color": "#000",
"backgroundColor": "#E91E63",
"border": "1px solid #000",
"borderRadius": "2px",
"cursor": "pointer",
"isWholeLine": false
},
"todohighlight.include": [
"**/*.js",
"**/*.json",
"**/*.html",
"**/*.scss"
],
"todohighlight.exclude": [
"**/node_modules/**",
"**/bower_components/**",
"**/dist/**",
"**/build/**",
"**/.vscode/**",
"**/.github/**",
"**/_output/**",
"**/*.min.*",
"**/*.map",
"**/.next/**"
],
// indent rainbow
// Defining custom colors instead of default "Rainbow" for dark backgrounds.
"indentRainbow.colors": [
"rgba(64, 64, 16, 0.3)",
"rgba(32, 64, 32, 0.3)",
"rgba(64, 32, 64, 0.3)",
"rgba(16, 48, 48, 0.3)",
"rgba(128, 32, 32, 0.3)"
],
// The delay in ms until the editor gets updated.
"indentRainbow.updateDelay": 20,
// The indent color if the number of spaces is not a multiple of "tabSize".
"indentRainbow.errorColor": "rgba(128,32,32,0.3)",
"indentRainbow.ignoreErrorLanguages": [
"markdown", "plaintext"
],
// Example of regular expression in JSON (note double backslash to escape characters)
"indentRainbow.ignoreLinePatterns": [
"/.*\\*.*/mg", // lines begining wit *
"/.*\\/\\/.*/g" // lines begininning with //
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment