Skip to content

Instantly share code, notes, and snippets.

@riandoza
Last active May 30, 2025 19:14
Show Gist options
  • Save riandoza/1d9acf0230f7a47b2d220e66b550f27b to your computer and use it in GitHub Desktop.
Save riandoza/1d9acf0230f7a47b2d220e66b550f27b to your computer and use it in GitHub Desktop.
Advanced VS Code Global Settings
{
"[blade]": {
"editor.defaultFormatter": "onecentlin.laravel-blade",
"editor.formatOnSave": true
},
"[css]": {
"editor.foldingStrategy": "indentation",
"editor.tabSize": 4
},
"[graphql][handlebars]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.autoClosingBrackets": "languageDefined",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.foldingStrategy": "indentation",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"files.eol": "\n"
},
"[javascript][javascriptreact][typescript][typescriptreact]": {
"editor.codeActionsOnSave": {
"source.addMissingImports": "explicit",
"source.fixAll": "never",
"source.fixAll.eslint": "explicit",
"source.removeUnusedImports": "never",
"source.sortImports": "explicit",
"source.unusedImports": "never"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.indentSize": "tabSize",
"editor.insertSpaces": true,
"editor.maxTokenizationLineLength": 200000,
"editor.tabSize": 2,
"togglequotes.chars": [
"\"",
"'",
"`"
]
},
"[jsonc][json]": {
"editor.autoClosingQuotes": "never",
"editor.autoSurround": "never",
"editor.defaultFormatter": "vscode.json-language-features",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.hover.enabled": false,
"editor.insertSpaces": true,
"editor.quickSuggestions": {
"comments": false,
"other": true,
"strings": "on"
},
"editor.suggest.insertMode": "replace",
"editor.tabSize": 2
},
"[markdown]": {
"editor.acceptSuggestionOnEnter": "off",
"editor.codeActionsOnSave": {
"source.fixAll.markdownlint": "explicit"
},
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint",
"editor.formatOnSave": true,
"editor.hover.enabled": false,
"editor.quickSuggestions": {
"comments": "off",
"other": "off",
"strings": "inline"
},
"editor.wordWrap": "on"
},
"[php]": {
"editor.defaultFormatter": "junstyle.php-cs-fixer",
"editor.detectIndentation": true,
"editor.formatOnSave": true,
"editor.inlayHints.enabled": "on"
},
"[prisma]": {
"editor.defaultFormatter": "Prisma.prisma",
"editor.formatOnSave": true
},
"[python]": {
"editor.codeActionsOnSave": {
"source.fixAll": "never",
"source.fixall.pylance": "never",
"source.fixAll.ruff": "explicit",
"source.organizeImports": "never",
"source.organizeImports.pylance": "never",
"source.organizeImports.ruff": "explicit",
"source.unusedImports": "never"
},
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.detectIndentation": true,
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.indentSize": "tabSize",
"editor.renderWhitespace": "all",
"editor.tabSize": 4
},
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
},
"[shellscript]": {
"editor.autoIndent": "advanced",
"editor.codeActionsOnSave": {
"source.fixAll.shellcheck": "explicit"
},
"editor.insertSpaces": false,
"editor.tabSize": 4,
"editor.useTabStops": true,
"editor.wordBasedSuggestions": "allDocuments"
},
"[typescript][typescriptreact]": {
"editor.showUnused": true
},
"[yaml]": {
"editor.codeLens": true,
"editor.defaultFormatter": "redhat.vscode-yaml",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.tabSize": 2
},
"auto-close-tag.activationOnLanguage": [
"xml",
"php",
"blade",
"ejs",
"jinja",
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"liquid",
"erb",
"lang-cfml",
"cfml",
"HTML (Eex)",
"mdx",
"html"
],
"auto-close-tag.disableOnLanguage": [
"markdown",
"plaintext",
"css"
],
"auto-close-tag.excludedTags": [
"area",
"base",
"br",
"col",
"command",
"embed",
"hr",
"img",
"input",
"keygen",
"link",
"meta",
"param",
"source",
"track",
"wbr"
],
"auto-close-tag.fullMode": true,
"auto-close-tag.SublimeText3Mode": true,
"auto-rename-tag.activationOnLanguage": [
"html",
"xml",
"php",
"javascript",
"typescript",
"javascriptreact",
"typescriptreact",
"blade"
],
"better-comments.tags": [
{
"backgroundColor": "transparent",
"bold": false,
"color": "#FF2D00",
"italic": false,
"strikethrough": false,
"tag": "!",
"underline": false
},
{
"backgroundColor": "transparent",
"bold": false,
"color": "#3498DB",
"italic": false,
"strikethrough": false,
"tag": "?",
"underline": false
},
{
"backgroundColor": "transparent",
"bold": false,
"color": "#474747",
"italic": false,
"strikethrough": true,
"tag": "//",
"underline": false
},
{
"backgroundColor": "transparent",
"bold": false,
"color": "#474747",
"italic": false,
"strikethrough": true,
"tag": "#",
"underline": false
},
{
"backgroundColor": "transparent",
"bold": false,
"color": "#FF8C00",
"italic": false,
"strikethrough": false,
"tag": "todo",
"underline": false
},
{
"backgroundColor": "transparent",
"bold": false,
"color": "#98C379",
"italic": false,
"strikethrough": false,
"tag": "*",
"underline": false
}
],
"blade.format.enable": true,
"breadcrumbs.enabled": false,
"code-runner.cwd": "${workspaceFolder}",
"codesnap.containerPadding": "0",
"codesnap.realLineNumbers": true,
"codesnap.roundedCorners": false,
"codesnap.showWindowControls": true,
"codesnap.showWindowTitle": true,
"codesnap.shutterAction": "copy",
"console-ninja.featureSet": "Community",
"continue.enableConsole": true,
"continue.enableTabAutocomplete": true,
"continue.showInlineTip": true,
"continue.telemetryEnabled": false,
"css.enabledLanguages": [
"html",
"php",
"typescript",
"typescriptreact",
"vue"
],
"css.styleSheets": [
"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css",
"**/node_modules/bootstrap/dist/css/bootstrap.css",
"**/src/**/*.scss",
"**/src/**/*.css",
"**/src/view/style.ts",
"**/dist/style.css",
"**/assets/css/*.css",
"**/assets/**/*.css",
"**/assets/**/css/*.css"
],
"css.validate": false,
"csv-edit.readOption_hasHeader": "true",
"database-client.autoSync": true,
"database-client.telemetry.usesOnlineServices": false,
"debug.toolBarLocation": "commandCenter",
"diffEditor.ignoreTrimWhitespace": false,
"editor.acceptSuggestionOnEnter": "on",
"editor.autoClosingBrackets": "languageDefined",
"editor.autoIndent": "advanced",
"editor.codeActionWidget.includeNearbyQuickFixes": true,
"editor.codeLens": true,
"editor.cursorBlinking": "smooth",
"editor.cursorStyle": "line",
"editor.defaultFormatter": null,
"editor.dragAndDrop": true,
"editor.find.autoFindInSelection": "never",
"editor.fontFamily": "'MesloLGS NF', 'FiraCode Nerd Font'",
"editor.fontLigatures": false,
"editor.fontSize": 14,
"editor.formatOnPaste": false,
"editor.formatOnSave": false,
"editor.formatOnType": false,
"editor.gotoLocation.multipleDefinitions": "goto",
"editor.inlayHints.fontFamily": "'MesloLGS NF', 'FiraCode Nerd Font'",
"editor.inlayHints.fontSize": 12,
"editor.inlineSuggest.enabled": true,
"editor.linkedEditing": true,
"editor.links": false,
"editor.quickSuggestions": {
"comments": false,
"other": true,
"strings": "on"
},
"editor.quickSuggestionsDelay": 50,
"editor.semanticTokenColorCustomizations": {
"rules": {
"*.mutable": {
"fontStyle": ""
},
"function.unsafe": "#ff6600",
"method.unsafe": "#ff6600",
"operator.unsafe": "#ff6600"
}
},
"editor.snippetSuggestions": "top",
"editor.suggestOnTriggerCharacters": true,
"editor.tabCompletion": "on",
"editor.wordWrap": "off",
"emmet.includeLanguages": {
"ejs": "html",
"javascript": "javascriptreact",
"typescript": "typescriptreact"
},
"emmet.triggerExpansionOnTab": true,
"errorLens.disableLineComments": {
"eslint": "// eslint-disable-next-line $code",
"Stylelint": "/* stylelint-disable-next-line $code */"
},
"errorLens.enabledDiagnosticLevels": [
"error",
"warning"
],
"errorLens.excludePatterns": [
"**/node_modules/**",
"**/vendor/**",
"**/bower_components/**",
"**/storage/**",
"**/tests/**",
"**/venv/**",
"**/*.{md,txt}"
],
"errorLens.gutterIconsEnabled": true,
"errorLens.gutterIconSet": "defaultOutline",
"errorLens.searchForProblemQuery": "https://www.google.com/search?q=",
"errorLens.statusBarIconsEnabled": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"eslint.workingDirectories": [],
"explorer.confirmDelete": true,
"extensions.ignoreRecommendations": true,
"files.associations": {
".clinerules": "markdown",
".env": "dotenv",
"*.ejs": "html",
"*.html": "html",
"*.module": "php",
"*.php-cs": "php",
"*.yaml": "yaml",
"*.yml": "yaml",
"**/*.blade.php": "php",
"**/*.css": "css, tailwindcss",
"**/launch.json": "jsonc",
"**/package.json": "jsonc",
"**/settings.json": "jsonc",
"**/tasks.json": "jsonc",
"**/views/**/*.php": "html",
"*plays.yml": "ansible"
},
"files.defaultLanguage": "markdown",
"files.exclude": {
".editorconfig": false,
".idea": true,
"*.log": true,
"**/__pycache__": true,
"**/.csv": true,
"**/.parquet": true,
"**/.pkl": true,
"**/.ruff_cache/": true,
"**/.xls": true,
"**/*.js": {
"when": "$(basename).ts"
},
"**/**.js": {
"when": "$(basename).tsx"
},
"**/package-lock.json": true,
"*/**/.github/": true,
"*/**/build/": true,
"*/**/cache/": true,
"*/**/node_modules/": true,
"*/**/uploads/": true,
"server.php": true,
"wp-admin/": true,
"wp-config.*": false,
"wp-includes/": true,
"xmlrpc.php": true
},
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/env/**": true,
"**/node_modules/**": true,
"**/venv/**": true,
"env-*": true
},
"git.autofetch": true,
"git.ignoreMissingGitWarning": true,
"git.openRepositoryInParentFolders": "never",
"git.showPushSuccessNotification": true,
"git.suggestSmartCommit": false,
"html.autoClosingTags": false,
"html.format.enable": false,
"html.format.templating": true,
"htmlhint.documentSelector": [
"html",
"htm",
"twig"
],
"htmlhint.options": {
"attr-lowercase": false,
"attr-value-double-quotes": true,
"doctype-first": false,
"tagname-lowercase": false
},
"importCost.timeout": 10000,
"indentRainbow.colors": [
"rgba(255,255,64,0.07)",
"rgba(127,255,127,0.07)",
"rgba(255,127,255,0.07)",
"rgba(79,236,236,0.07)"
],
"indentRainbow.errorColor": "rgba(128,32,32,0.6)",
"indentRainbow.excludedLanguages": [
"plaintext",
"markdown"
],
"indentRainbow.includedLanguages": [
"python",
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"indentRainbow.tabmixColor": "rgba(128,32,96,0.6)",
"indentRainbow.updateDelay": 100,
"intelephense.completion.fullyQualifyGlobalConstantsAndFunctions": true,
"intelephense.completion.insertUseDeclaration": true,
"intelephense.completion.triggerParameterHints": true,
"intelephense.diagnostics.undefinedClassConstants": false,
"intelephense.diagnostics.undefinedConstants": false,
"intelephense.diagnostics.undefinedFunctions": false,
"intelephense.diagnostics.undefinedMethods": false,
"intelephense.diagnostics.undefinedProperties": false,
"intelephense.diagnostics.undefinedTypes": false,
"intelephense.diagnostics.undefinedVariables": true,
"intelephense.files.exclude": [
"**/.vscode/**",
"**/.git/**",
"**/.svn/**",
"**/.hg/**",
"**/CVS/**",
"**/.DS_Store/**",
"**/node_modules/**",
"**/bower_components/**",
"**/vendor/**/{Test,test,Tests,tests}/**",
"**/storage",
"**/storage/**",
"**/tests/**",
"**/resources/views/**",
"**/database/migrations/**",
"**/storage/framework/views/**",
"_ide_helper.php",
"_ide_helper_models",
"**/system/libraries/**"
],
"intelephense.files.maxSize": 3000000,
"intelephense.format.enable": false,
"intelephense.stubs": [
"apache",
"bcmath",
"bz2",
"calendar",
"com_dotnet",
"Core",
"ctype",
"curl",
"date",
"dba",
"dom",
"enchant",
"exif",
"FFI",
"fileinfo",
"filter",
"fpm",
"ftp",
"gd",
"gettext",
"gmp",
"hash",
"iconv",
"imap",
"intl",
"json",
"ldap",
"libxml",
"mbstring",
"meta",
"mysqli",
"oci8",
"odbc",
"openssl",
"pcntl",
"pcre",
"PDO",
"pgsql",
"Phar",
"posix",
"pspell",
"readline",
"Reflection",
"session",
"shmop",
"SimpleXML",
"snmp",
"soap",
"sockets",
"sodium",
"SPL",
"sqlite3",
"standard",
"superglobals",
"sysvmsg",
"sysvsem",
"sysvshm",
"tidy",
"tokenizer",
"xml",
"xmlreader",
"xmlrpc",
"xmlwriter",
"xsl",
"Zend OPcache",
"zip",
"zlib",
"wordpress",
"redis",
"interbase",
"mcrypt",
"mssql",
"recode",
"regex",
"sybase",
"wddx",
"zlib",
"random"
],
"intelephense.telemetry.enabled": false,
"intelephense.trace.server": "messages",
"javascript.preferences.quoteStyle": "single",
"javascript.suggest.paths": false,
"javascript.updateImportsOnFileMove.enabled": "prompt",
"less.validate": false,
"liveServer.settings.AdvanceCustomBrowserCmdLine": "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser",
"markdown.editor.pasteUrlAsFormattedLink.enabled": "always",
"markdown.updateLinksOnFileMove.enabled": "prompt",
"markdownlint.configFile": "/Users/arrazka/.config/markdown/.markdownlint-cli2.jsonc",
"markdownlint.focusMode": 2,
"markdownlint.run": "onSave",
"notebook.codeActionsOnSave": {
"notebook.source.fixAll": "explicit",
"notebook.source.organizeImports": "explicit"
},
"notebook.formatOnSave.enabled": true,
"php-cs-fixer.allowRisky": true,
"php-cs-fixer.autoFixByBracket": true,
"php-cs-fixer.autoFixBySemicolon": true,
"php-cs-fixer.config": "/Users/arrazka/.config/php-cs-fixer/php-cs-fixer.php",
"php-cs-fixer.documentFormattingProvider": true,
"php-cs-fixer.exclude": [
"**/vendor",
"**/.venv",
"**/.vscode",
"**/.git/**",
"**/.svn/**",
"**/.hg/**",
"**/CVS/**",
"**/.DS_Store",
"**/node_modules",
"**/bower_components",
"**/storage",
"**/tests/**",
"**/resources/views",
"**/database/migrations",
"_ide_helper.php",
"_ide_helper_models",
"**/system/libraries"
],
"php-cs-fixer.executablePath": "/Users/arrazka/.composer/vendor/bin/php-cs-fixer",
"php-cs-fixer.formatHtml": true,
"php-cs-fixer.ignorePHPVersion": true,
"php-cs-fixer.onsave": true,
"php-cs-fixer.pathMode": "override",
"php-cs-fixer.rules": "@PSR2",
"php.files.exclude": [
"**/.vscode/**",
"**/.git/**",
"**/.svn/**",
"**/.hg/**",
"**/CVS/**",
"**/.DS_Store/**",
"**/node_modules/**",
"**/bower_components/**",
"**/vendor/**/{Test,test,Tests,tests}/**",
"**/storage",
"**/storage/**",
"**/tests/**",
"**/resources/views/**",
"**/database/migrations/**",
"**/storage/framework/views/**",
"_ide_helper.php",
"_ide_helper_models",
"**/system/libraries/**"
],
"phpactor.enable": true,
"python.analysis.autoFormatStrings": true,
"python.analysis.autoImportCompletions": false,
"python.analysis.autoSearchPaths": true,
"python.analysis.completeFunctionParens": true,
"python.analysis.diagnosticMode": "workspace",
"python.analysis.enablePytestSupport": false,
"python.analysis.exclude": [
"**/node_modules",
"**/__pycache__",
".git",
".ruff_cache",
".next",
"build",
"**/vendor",
".vscode",
".venv/**"
],
"python.analysis.extraPaths": [
"${workspaceFolder}/src",
"${workspaceFolder}/app"
],
"python.analysis.fixAll": [
"source.convertImportFormat"
],
"python.analysis.ignore": [],
"python.analysis.importFormat": "absolute",
"python.analysis.indexing": true,
"python.analysis.inlayHints.callArgumentNames": "partial",
"python.analysis.inlayHints.functionReturnTypes": true,
"python.analysis.inlayHints.variableTypes": true,
"python.analysis.packageIndexDepths": [
{
"depth": 3,
"includeAllSymbols": true,
"name": ""
}
],
"python.analysis.typeCheckingMode": "off",
"python.analysis.useLibraryCodeForTypes": true,
"python.envFile": "${workspaceFolder}/.env",
"python.languageServer": "Pylance",
"python.terminal.activateEnvInCurrentTerminal": true,
"python.terminal.activateEnvironment": true,
"python.testing.pytestArgs": [
"--color=yes"
],
"redhat.telemetry.enabled": false,
"remote.autoForwardPortsSource": "hybrid",
"ruff.codeAction.disableRuleComment": {
"enable": false
},
"ruff.codeAction.fixViolation": {
"enable": true
},
"ruff.configuration": "/Users/arrazka/.ruff/ruff.toml",
"ruff.importStrategy": "fromEnvironment",
"ruff.path": [
"/opt/homebrew/bin/ruff"
],
"rust-analyzer.check.command": "clippy",
"scss.validate": false,
"search.exclude": {
".expo": true,
".git": true,
".gitignore": true,
".next": true,
".vscode": true,
".yarn/": true,
"*.db": true,
"*.log": true,
"*.sql": true,
"**/__pycache__": true,
"**/.ruff_cache/": true,
"**/.venv": true,
"**/*.js": {
"when": "$(basename).ts"
},
"**/**.js": {
"when": "$(basename).tsx"
},
"**/bower_components": true,
"**/env": true,
"**/storage": true,
"**/tests": true,
"**/vendor": true,
"**/venv": true,
"*/**/cache/": true,
"*/**/node_modules/": true,
"build/": true,
"dist/": true,
"package-lock.json": true,
"README.*": true,
"yarn.lock": true
},
"search.useGlobalIgnoreFiles": true,
"search.useIgnoreFiles": true,
"security.promptForLocalFileProtocolHandling": false,
"security.workspace.trust.untrustedFiles": "open",
"sftp.downloadWhenOpenInRemoteExplorer": true,
"shellcheck.exclude": [
"1017"
],
"stylelint.validate": [
"css",
"scss"
],
"tailwindCSS.emmetCompletions": true,
"tailwindCSS.files.exclude": [
"**/.git/**",
"**/node_modules/**",
"**/.hg/**",
"**/.svn/**"
],
"tailwindCSS.includeLanguages": {
"ejs": "html",
"javascript": "javascriptreact",
"plaintext": "html",
"typescript": "typescriptreact"
},
"terminal.explorerKind": "external",
"terminal.external.osxExec": "WezTerm.app",
"terminal.integrated.accessibleViewPreserveCursorPosition": true,
"terminal.integrated.defaultProfile.osx": "zsh",
"terminal.integrated.defaultProfile.windows": "WSL",
"terminal.integrated.env.osx": {
"PATH": "${env:PATH}",
"PHP_CS_FIXER_IGNORE_ENV": "1"
},
"terminal.integrated.fontFamily": "'MesloLGS NF', 'FiraCode Nerd Font'",
"terminal.integrated.profiles.osx": {
"zsh": {
"args": [
"-l"
],
"path": "zsh"
}
},
"terminal.integrated.profiles.windows": {
"MSYS2 UCRT": {
"args": [
"/c",
"C:\\msys64\\msys2_shell.cmd -defterm -here -no-start -ucrt64"
],
"path": "cmd.exe"
},
"PowerShell": {
"icon": "terminal-powershell",
"source": "PowerShell"
}
},
"terminal.integrated.shellIntegration.history": 1000,
"terminal.integrated.windowsEnableConpty": false,
"typescript.autoClosingTags": true,
"typescript.check.npmIsInstalled": true,
"typescript.implementationsCodeLens.enabled": true,
"typescript.inlayHints.functionLikeReturnTypes.enabled": true,
"typescript.inlayHints.parameterNames.enabled": "literals",
"typescript.inlayHints.parameterTypes.enabled": true,
"typescript.inlayHints.propertyDeclarationTypes.enabled": true,
"typescript.inlayHints.variableTypes.enabled": true,
"typescript.preferences.quoteStyle": "single",
"typescript.referencesCodeLens.enabled": true,
"typescript.reportStyleChecksAsWarnings": true,
"typescript.suggest.autoImports": true,
"typescript.suggest.completeJSDocs": false,
"typescript.suggest.paths": false,
"typescript.suggestionActions.enabled": true,
"typescript.tsserver.log": "off",
"typescript.updateImportsOnFileMove.enabled": "prompt",
"update.mode": "none",
"vsicons.dontShowConfigManuallyChangedMessage": true,
"vsicons.dontShowNewVersionMessage": true,
"window.title": "${dirty}${activeEditorShort}${separator}${rootName}${separator}${folderPath}",
"workbench.colorCustomizations": {
"editorInlayHint.background": "#3d3d3d48",
"editorInlayHint.foreground": "#868686f0"
},
"workbench.colorTheme": "GitHub Dark",
"workbench.editor.doubleClickTabToToggleEditorGroupSizes": "maximize",
"workbench.editor.empty.hint": "hidden",
"workbench.editor.enablePreview": true,
"workbench.editor.labelFormat": "short",
"workbench.editor.showTabs": "multiple",
"workbench.editorAssociations": {
"*.db": "sqlite3-editor.editor"
},
"workbench.enableExperiments": false,
"workbench.iconTheme": "vscode-icons",
"workbench.settings.editor": "json"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment