Clean Up VS Code Settings Organization

This commit is contained in:
Sravan Balaji
2023-11-24 09:32:06 -05:00
parent 63e62b9c22
commit e1ae5a9b6b
2 changed files with 68 additions and 62 deletions

View File

@@ -40,36 +40,36 @@
"editor.bracketPairColorization.enabled": true, "editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": "active", "editor.guides.bracketPairs": "active",
"editor.tokenColorCustomizations": { "editor.tokenColorCustomizations": {
"textMateRules": [ "textMateRules": [
{ {
"scope": [ "scope": [
//following will be in italic (=FlottFlott) //following will be in italic (=FlottFlott)
"comment", "comment",
"entity.name.type.class", //class names "entity.name.type.class", //class names
"keyword", //import, export, return… "keyword", //import, export, return…
"constant", //String, Number, Boolean…, this, super "constant", //String, Number, Boolean…, this, super
"storage.modifier", //static keyword "storage.modifier", //static keyword
"storage.type.class.js", //class keyword "storage.type.class.js", //class keyword
], ],
"settings": { "settings": {
"fontStyle": "italic" "fontStyle": "italic"
} }
}, },
{ {
"scope": [ "scope": [
//following will be excluded from italics (VSCode has some defaults for italics) //following will be excluded from italics (VSCode has some defaults for italics)
"invalid", "invalid",
"keyword.operator", "keyword.operator",
"constant.numeric.css", "constant.numeric.css",
"keyword.other.unit.px.css", "keyword.other.unit.px.css",
"constant.numeric.decimal.js", "constant.numeric.decimal.js",
"constant.numeric.json" "constant.numeric.json"
], ],
"settings": { "settings": {
"fontStyle": "" "fontStyle": ""
}
} }
} ]
]
}, },
"explorer.autoReveal": false, "explorer.autoReveal": false,
@@ -153,6 +153,7 @@
"terminal.integrated.cursorStyle": "line", "terminal.integrated.cursorStyle": "line",
"terminal.integrated.cursorBlinking": true, "terminal.integrated.cursorBlinking": true,
"terminal.integrated.fontFamily": "'MonaspiceNe NF'", "terminal.integrated.fontFamily": "'MonaspiceNe NF'",
"terminal.integrated.defaultProfile.linux": "bash",
"[javascript]": { "[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
@@ -166,10 +167,14 @@
"[cpp]": { "[cpp]": {
"editor.defaultFormatter": "ms-vscode.cpptools" "editor.defaultFormatter": "ms-vscode.cpptools"
}, },
"[python]": {
"editor.defaultFormatter": "ms-python.python"
},
"python.linting.pylintEnabled": true, "python.linting.pylintEnabled": true,
"python.linting.enabled": true, "python.linting.enabled": true,
"python.languageServer": "Pylance", "python.languageServer": "Pylance",
"todo-tree.regex.regex": "(//|#|<!--|;|/\\*|^|^\\s*(-|\\d+.))\\s*($TAGS)",
"todo-tree.tree.showScanModeButton": false, "todo-tree.tree.showScanModeButton": false,
"todo-tree.general.tags": [ "todo-tree.general.tags": [
"BUG", "BUG",
@@ -210,11 +215,7 @@
"telemetry.enableTelemetry": false, "telemetry.enableTelemetry": false,
"telemetry.enableCrashReporter": false, "telemetry.enableCrashReporter": false,
"todo-tree.regex.regex": "(//|#|<!--|;|/\\*|^|^\\s*(-|\\d+.))\\s*($TAGS)",
"terminal.integrated.defaultProfile.linux": "bash",
"[python]": {
"editor.defaultFormatter": "ms-python.python"
},
"security.workspace.trust.untrustedFiles": "open", "security.workspace.trust.untrustedFiles": "open",
"peacock.favoriteColors": [ "peacock.favoriteColors": [

View File

@@ -7248,36 +7248,36 @@ DOOMDIR=$DOOM_DIR_PATH $DOOM_BIN doctor
"editor.bracketPairColorization.enabled": true, "editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": "active", "editor.guides.bracketPairs": "active",
"editor.tokenColorCustomizations": { "editor.tokenColorCustomizations": {
"textMateRules": [ "textMateRules": [
{ {
"scope": [ "scope": [
//following will be in italic (=FlottFlott) //following will be in italic (=FlottFlott)
"comment", "comment",
"entity.name.type.class", //class names "entity.name.type.class", //class names
"keyword", //import, export, return… "keyword", //import, export, return…
"constant", //String, Number, Boolean…, this, super "constant", //String, Number, Boolean…, this, super
"storage.modifier", //static keyword "storage.modifier", //static keyword
"storage.type.class.js", //class keyword "storage.type.class.js", //class keyword
], ],
"settings": { "settings": {
"fontStyle": "italic" "fontStyle": "italic"
} }
}, },
{ {
"scope": [ "scope": [
//following will be excluded from italics (VSCode has some defaults for italics) //following will be excluded from italics (VSCode has some defaults for italics)
"invalid", "invalid",
"keyword.operator", "keyword.operator",
"constant.numeric.css", "constant.numeric.css",
"keyword.other.unit.px.css", "keyword.other.unit.px.css",
"constant.numeric.decimal.js", "constant.numeric.decimal.js",
"constant.numeric.json" "constant.numeric.json"
], ],
"settings": { "settings": {
"fontStyle": "" "fontStyle": ""
}
} }
} ]
]
}, },
#+END_SRC #+END_SRC
@@ -7377,6 +7377,7 @@ DOOMDIR=$DOOM_DIR_PATH $DOOM_BIN doctor
"terminal.integrated.cursorStyle": "line", "terminal.integrated.cursorStyle": "line",
"terminal.integrated.cursorBlinking": true, "terminal.integrated.cursorBlinking": true,
"terminal.integrated.fontFamily": "'MonaspiceNe NF'", "terminal.integrated.fontFamily": "'MonaspiceNe NF'",
"terminal.integrated.defaultProfile.linux": "bash",
#+END_SRC #+END_SRC
**** Language Specific **** Language Specific
@@ -7394,6 +7395,9 @@ DOOMDIR=$DOOM_DIR_PATH $DOOM_BIN doctor
"[cpp]": { "[cpp]": {
"editor.defaultFormatter": "ms-vscode.cpptools" "editor.defaultFormatter": "ms-vscode.cpptools"
}, },
"[python]": {
"editor.defaultFormatter": "ms-python.python"
},
"python.linting.pylintEnabled": true, "python.linting.pylintEnabled": true,
"python.linting.enabled": true, "python.linting.enabled": true,
"python.languageServer": "Pylance", "python.languageServer": "Pylance",
@@ -7402,6 +7406,7 @@ DOOMDIR=$DOOM_DIR_PATH $DOOM_BIN doctor
**** Todo Tree **** Todo Tree
#+BEGIN_SRC json :tangle .config/Code/User/settings.json #+BEGIN_SRC json :tangle .config/Code/User/settings.json
"todo-tree.regex.regex": "(//|#|<!--|;|/\\*|^|^\\s*(-|\\d+.))\\s*($TAGS)",
"todo-tree.tree.showScanModeButton": false, "todo-tree.tree.showScanModeButton": false,
"todo-tree.general.tags": [ "todo-tree.general.tags": [
"BUG", "BUG",
@@ -7482,11 +7487,11 @@ DOOMDIR=$DOOM_DIR_PATH $DOOM_BIN doctor
#+BEGIN_SRC json :tangle .config/Code/User/settings.json #+BEGIN_SRC json :tangle .config/Code/User/settings.json
"telemetry.enableTelemetry": false, "telemetry.enableTelemetry": false,
"telemetry.enableCrashReporter": false, "telemetry.enableCrashReporter": false,
"todo-tree.regex.regex": "(//|#|<!--|;|/\\*|^|^\\s*(-|\\d+.))\\s*($TAGS)", #+END_SRC
"terminal.integrated.defaultProfile.linux": "bash",
"[python]": { **** Security
"editor.defaultFormatter": "ms-python.python"
}, #+BEGIN_SRC json :tangle .config/Code/User/settings.json
"security.workspace.trust.untrustedFiles": "open", "security.workspace.trust.untrustedFiles": "open",
#+END_SRC #+END_SRC