VSCode settings.json file
October 31, 2024
note-to-self
backup
vscode
My settings.json file as of 2024-10-31, mostly for backup purposes:
{
“workbench.settings.openDefaultKeybindings”: true,
“workbench.startupEditor”: “none”,
“workbench.editor.highlightModifiedTabs”: true,
“workbench.editor.pinnedTabsOnSeparateRow”: true,
“workbench.editorAssociations”: {
“*.csv”: “cweijan.officeViewer”,
“{git,gitlens}:/**/*.{md,csv,svg}“: “default”
},
“workbench.editor.showIcons”: false,
“workbench.list.automaticKeyboardNavigation”: false,
“window.zoomLevel”: 0.01,
“editor.suggest.showIcons”: false,
“editor.fontSize”: 14,
“workbench.statusBar.visible”: true,
“workbench.sideBar.location”: “left”,
“editor.inlineSuggest.showToolbar”: “always”,
“editor.tabCompletion”: “on”,
“editor.tabFocusMode”: true,
“editor.foldingMaximumRegions”: 65000,
“editor.renderWhitespace”: “all”,
“editor.semanticTokenColorCustomizations”: {},
“editor.tabSize”: 4,
“editor.insertSpaces”: true,
“editor.detectIndentation”: false,
“javascript.format.semicolons”: “remove”,
“javascript.preferences.quoteStyle”: “single”,
“forgetThis”: “`which php`“,
“outline.icons”: false,
“explorer.confirmDragAndDrop”: false,
“[html]“: {
“editor.defaultFormatter”: “vscode.html-language-features”
},
“vim.statusBarColors.visualline”: “”,
“vim.useSystemClipboard”: true,
“vim.showMarksInGutter”: true,
“vim.highlightedyank.enable”: true,
“vim.replaceWithRegister”: true,
“vim.easymotion”: true,
“vim.incsearch”: true,
“vim.useCtrlKeys”: true,
“vim.hlsearch”: true,
“vim.insertModeKeyBindings”: [
{
“before”: [“j”, “j”],
“after”: [“<Esc>“]
}
],
“vim.normalModeKeyBindingsNonRecursive”: [
{
“before”: [“<leader>“, “d”],
// delete a line and paste in on
// the next line to swap it
“after”: [“d”, “d”, “p”]
},
{ “before”: [“<leader>“, “r”], “commands”: [ “editor.action.rename” ] },
{ “before”: [“<leader>“, “1”], “commands”: [ “workbench.action.togglePanel” ] },
{ “before”: [“<leader>“, “3”], “commands”: [ “phpunit.rerun” ] },
{ “before”: [“<leader>“, “7”], “commands”: [ “workbench.action.toggleSidebarVisibility” ] },
{ “before”: [“<leader>“, “8”], “commands”: [ “workbench.action.toggleAuxiliaryBar” ] },
{ “before”: [“<leader>“, “.”, “4"], “commands”: [ “workbench.view.debug” ] },
{ “before”: [“<leader>“, “/”], “commands”: [“:nohl”] }
],
“vim.leader”: “<space>“,
“vim.handleKeys”:
{
“<C-a>“: false,
“<C-f>“: false
},
“[json]“: {
“editor.defaultFormatter”: “vscode.json-language-features”
},
“search.exclude”: {
“**/vendor/**“: true
},
“explorer.autoReveal”: false,
“debug.allowBreakpointsEverywhere”: true,
“debug.showBreakpointsInOverviewRuler”: true,
“search.experimental.“: true,
“search.mode”: “newEditor”,
“[jsonc]“: {
“editor.defaultFormatter”: “vscode.json-language-features”
},
“security.workspace.trust.untrustedFiles”: “open”,
“[javascript]“: {
“editor.defaultFormatter”: “vscode.typescript-language-features”
},
“todo-tree.filtering.excludeGlobs”: [
“**/node_modules”,
“**/ext-4.2*“,
“**/excelxml*“,
“**/bootstrap*”
],
“json.maxItemsComputed”: 50000,
“emmet.excludeLanguages”: [
“markdown”,
“php”,
“html”,
“js”
],
“terminal.integrated.fontSize”: 16,
“todo-tree.general.tags”: [
“BUG”,
“HACK”,
“FIXME”,
“TODO”,
“XXX”,
“[ ]“,
“[x]“,
“@ToDo”,
“@Todo”
],
“extensions.ignoreRecommendations”: true,
“settingsSync.ignoredSettings”: [],
“diffEditor.maxComputationTime”: 0,
“git.openRepositoryInParentFolders”: “always”,
“vscode-office.openOutline”: false,
“diffEditor.renderSideBySide”: false,
“git.autofetch”: true,
“remove-tabs-on-save.ignoreFileExtensions”: [
“*.go”
],
“launch”: {
“configurations”: [],
“compounds”: []
},
“markdown.copyFiles.destination”: {
“/**/*.md “: “images/${documentBaseName}/”
},
“database-client.defaultSelectLimit”: 1000,
“database-client.splitSQLByNewLine”: false,
“database-client.completionTriggerKey”: [
“@”,
“.”
],
“phpunit.envVars”: {
“XDEBUG_SESSION”: 1
},
“phpunit.testExplorer.enabled”: true,
“phpunit.testExplorer.include”: “**/*Test.php,**/*TestFeature.php”,
“phpunit.paths”: {},
“[php]“: {
“editor.defaultFormatter”: “valeryanm.vscode-phpsab”
},
“gitlens.showWhatsNewAfterUpgrades”: false,
“vscode-office.editorTheme”: “Auto”,
“debug.javascript.autoAttachFilter”: “smart”,
“files.trimTrailingWhitespace”: true,
“files.insertFinalNewline”: true,
“files.trimFinalNewlines”: true,
“files.eol”: “\n”,
“files.associations”: {
“*.module”: “php”,
“*.inc”: “php”
},
“intelephense.environment.includePaths”: [
“vendor”
],
“intelephense.files.associations”: [
“*.php”,
“*.phtml”,
“*.inc”,
“*.module”,
“*.install”,
“*.theme”,
“.engine”,
“.profile”,
“.info”,
“.test”
],
“coverage-gutters.coverageFileNames”: [
“lcov.info”,
“cov.xml”,
“coverage.xml”,
“jacoco.xml”,
“coverage.cobertura.xml”
],
“phpsab.snifferEnable”: true,
“phpsab.snifferMode”: “onType”,
“phpsab.snifferArguments”: [“-n”, “--ignore=tests/*“],
“phpsab.fixerArguments”: [“-n”, “--ignore=tests/*“],
“phpsab.executablePathCBF”: “/Users/ha/Code/coding-standards/vendor/bin/phpcbf”,
“phpsab.executablePathCS”: “/Users/ha/Code/coding-standards/vendor/bin/phpcs”,
“phpsab.standard”: “/Users/ha/Code/coding-standards/src/ruleset.xml”,
“phpsab.autoRulesetSearch”: false,
“phpsab.debug”: true,
“coverage-gutters.showLineCoverage”: true,
“coverage-gutters.showRulerCoverage”: true,
“phpsab.allowedAutoRulesets”: [
“.phpcs.xml”,
“.phpcs.xml.dist”,
“phpcs.xml”,
“phpcs.xml.dist”,
“phpcs.ruleset.xml”,
“ruleset.xml”
],
“gitlens.views.commitDetails.files.layout”: “list”,
“workbench.editor.enablePreview”: true,
“notebook.defaultFormatter”: “valeryanm.vscode-phpsab”,
“notebook.formatOnSave.enabled”: true,
“gitlens.visualHistory.allowMultiple”: false,
“gitlens.graph.allowMultiple”: false,
“gitlens.launchpad.allowMultiple”: false,
“gitlens.telemetry.enabled”: false,
“gitlens.ai.experimental.model”: “openai:gpt-4o”,
“[typescript]“: {
“editor.defaultFormatter”: “vscode.typescript-language-features”
},
“database-client.capitalizeKeywordsWhenFormatting”: true,
“githubPullRequests.pullBranch”: “never”,
“cSpell.userWords”: [
“eksctl”,
“httponly”,
“instantiator”,
“Leaderboard”,
“Nodegroup”,
“Nodegroups”,
“Pdga”,
“phpsab”,
“phpunit”,
“samesite”,
“Spatie”,
“StatMando”,
“templating”,
“timeframe”,
“tinyint”,
“tourn”,
“unopinionated”,
“xlarge”
],
“cSpell.enabled”: true,
“php.suggest.basic”: false,
“php.files.exclude”: [
],
“graphviz-interactive-preview.debouncingInterval”: 1000,
“gitlens.graph.minimap.enabled”: false,
“scm.diffDecorationsIgnoreTrimWhitespace”: “true”,
“scm.diffDecorationsGutterPattern”: {
“added”: true
},
“gitlens.views.repositories.includeWorkingTree”: true,
“gitlens.views.workspaces.includeWorkingTree”: true,
“workbench.activityBar.location”: “top”,
“cSpell.enableFiletypes”: [
“md”,
“markdown”
],
“cSpell.diagnosticLevel”: “Hint”,
“coverage-gutters.remotePathResolve”: [],
“[vue]“: {
“editor.defaultFormatter”: “Vue.volar”
},
“intelephense.codeLens.references.enable”: true
}
Note: on a Mac, these are in ~/Library/Application Support/Code/User/settings.json
These posts are for my own understanding. Reader beware. Info may be wrong but it reflects my current understanding.