Files
dotfiles/common/.config/Code/User/settings.json
2025-06-12 13:15:06 +05:30

374 lines
11 KiB
JSON

{
// Global
"update.mode": "manual",
"workbench.settings.editor": "json",
// Privacy
"telemetry.telemetryLevel": "off",
"extensions.ignoreRecommendations": true,
"security.workspace.trust.untrustedFiles": "open",
// Editor
"editor.cursorWidth": 2,
"editor.tabSize": 4,
"editor.wordWrap": "on",
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.copyWithSyntaxHighlighting": false,
"editor.acceptSuggestionOnEnter": "smart",
"editor.snippetSuggestions": "top",
"editor.guides.indentation": true,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"editor.multiCursorModifier": "ctrlCmd",
"editor.cursorSurroundingLines": 8,
"files.trimTrailingWhitespace": true,
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 500,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"terminal.integrated.shell.linux": "/bin/zsh",
"explorer.confirmDragAndDrop": false,
"workbench.sideBar.location": "right",
// Editor Typography
"editor.fontFamily": "FiraCode Nerd Font Mono",
"editor.fontLigatures": true,
"editor.fontSize": 15,
"terminal.integrated.fontFamily": "FiraCode Nerd Font Mono",
"terminal.integrated.fontSize": 15,
// Theme
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Catppuccin Mocha",
"workbench.colorCustomizations": {
"tab.activeBackground": "#07f7af3f",
"tab.activeBorder": "#ffffff",
"statusBar.background": "#171819",
"statusBar.noFolderBackground": "#171819",
"statusBar.debuggingBackground": "#171819",
"statusBar.foreground": "#ffffff",
"statusBar.debuggingForeground": "#ffffff"
},
// Silence the Noise
"window.menuBarVisibility": "toggle",
"workbench.startupEditor": "newUntitledFile",
"editor.minimap.enabled": false,
"editor.hover.delay": 1500,
"workbench.tips.enabled": false,
"workbench.tree.enableStickyScroll": false,
"editor.stickyScroll.enabled": false,
"editor.overviewRulerBorder": false,
"editor.hideCursorInOverviewRuler": true,
"editor.gotoLocation.multipleReferences": "goto",
"editor.gotoLocation.multipleDefinitions": "goto",
"editor.gotoLocation.multipleDeclarations": "goto",
"editor.gotoLocation.multipleImplementations": "goto",
"editor.gotoLocation.multipleTypeDefinitions": "goto",
"workbench.editor.enablePreviewFromQuickOpen": false,
// Search
"search.useIgnoreFiles": false,
"search.exclude": {
// Hide everything in /public
"**/public/{[^i],?[^n]}*": true,
"**/node_modules": true,
"**/dist": true,
"**/composer.lock": true,
"**/package-lock.json": true
},
// Code
"breadcrumbs.enabled": true,
"diffEditor.renderSideBySide": true,
"diffEditor.ignoreTrimWhitespace": false,
"diffEditor.wordWrap": "on",
"emmet.includeLanguages": {
"vue-html": "html",
"vue": "html",
"react": "html",
"javascript": "html"
},
// Project Manager
"projectManager.git.baseFolders": [".git"],
// Todo Tree
"todo-tree.filtering.includeHiddenFiles": true,
"todo-tree.general.tags": [
"BUG",
"HACK",
"FIXME",
"TODO",
"PERF",
"NOTE",
"TEST",
"[ ]",
"[x]"
],
// VIM & NeoVIM
"extensions.experimental.affinity": {
"vscodevim.vim": 1
},
"keyboard.dispatch": "keyCode", // For Linux, <Caps> -> <Esc> binding to work
"vim.leader": " ",
"vim.easymotion": true,
"vim.smartRelativeLine": true,
"vim.showMarksInGutter": true,
"vim.replaceWithRegister": true,
"vim.highlightedyank.enable": true,
"vim.highlightedyank.duration": 300,
"vim.cursorStylePerMode.normal": "block",
"vim.cursorStylePerMode.visual": "block",
"vim.cursorStylePerMode.replace": "block",
"vim.cursorStylePerMode.visualblock": "block",
"vim.cursorStylePerMode.visualline": "block",
// statusbar colors
"vim.statusBarColorControl": true,
"vim.statusBarColors.normal": ["#171819", "#ffffff"],
"vim.statusBarColors.insert": ["#2C2E07", "#ffffff"],
"vim.statusBarColors.visual": ["#35151D", "#ffffff"],
"vim.statusBarColors.visualline": ["#35151D", "#ffffff"],
"vim.statusBarColors.visualblock": ["#35151D", "#ffffff"],
"vim.statusBarColors.commandlineinprogress": ["#2C2206", "#ffffff"],
"vim.statusBarColors.searchinprogressmode": ["#171819", "#ffffff"],
"vim.statusBarColors.surroundinputmode": ["#171819", "#ffffff"],
// Debugging
"debug.toolBarLocation": "docked",
"debug.javascript.autoAttachFilter": "disabled",
"debug.onTaskErrors": "debugAnyway",
// Prettier
"prettier.tabWidth": 4,
"prettier.useTabs": false,
"prettier.printWidth": 85,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"prettier.jsxSingleQuote": true,
// Formatters
"[html,json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[csharp]": {
"editor.defaultFormatter": "csharpier.csharpier-vscode"
},
"[sql]": {
"editor.defaultFormatter": "adpyke.vscode-sql-formatter"
},
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true
},
"[shellscript]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"[dockerfile]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"[lua]": {
"editor.defaultFormatter": "sumneko.lua"
},
// Better Comments
"better-comments.tags": [
{
"tag": "!",
"color": "#FF2D00",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "?",
"color": "#3498DB",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "//",
"color": "#474747",
"strikethrough": true,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "todo",
"color": "#FF8C00",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "*",
"color": "#98C379",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
}
],
// Code Spell Checker Plugin
"cSpell.diagnosticLevel": "Hint",
"cSpell.allowCompoundWords": true,
"cSpell.fixSpellingWithRenameProvider": true,
"cSpell.enabledFiletypes": [
"shellscript",
"csharp",
"python",
"javascript",
"javascriptreact"
],
"cSpell.minWordLength": 3,
"cSpell.numSuggestions": 10,
"cSpell.userWords": [
"Aadhaar",
"Aiginia",
"BBSR",
"Bhubaneswar",
"CLR",
"Destructured",
"GOPATH",
"IIS",
"JIT",
"Jython",
"Kumar",
"LINQ",
"MVC",
"Monomorphization",
"OOP",
"Odisha",
"Postgres",
"Pratik",
"Printf",
"Println",
"Sprintf",
"Struct",
"Structs",
"Tripathy",
"VIMP",
"VVIMP",
"VVVIMP",
"Vec",
"arity",
"atleast",
"destructure",
"elif",
"mkdir",
"monomorphized",
"pratiktri",
"ptr",
"pylint",
"subfolder",
"ulta",
"umount",
"unmount"
],
// Git
"git.enableSmartCommit": true,
"git.autofetch": true,
"git.confirmSync": false,
"git-graph.dialog.addTag.pushToRemote": true,
"git-graph.dialog.createBranch.checkOut": true,
"git-graph.dialog.general.referenceInputSpaceSubstitution": "Underscore",
"git-graph.enhancedAccessibility": true,
"git-graph.dialog.rebase.launchInteractiveRebase": true,
// Shell check plugin
"shellcheck.run": "onSave",
"shellcheck.exclude": ["2181", "2039"],
// JavaScript
"typescript.suggest.paths": false,
// Markdown
"markdownlint.run": "onType",
"markdown.extension.print.imgToBase64": true,
"markdown.extension.print.theme": "dark",
"markdown.extension.toc.orderedList": true,
"markdown.extension.tableFormatter.normalizeIndentation": true,
"markdown.extension.list.indentationSize": "inherit",
"markdown.extension.bold.indicator": "**",
"markdown.extension.italic.indicator": "*",
"markdownlint.config": {
"extends": "~/.config/templates/markdownlint.json"
},
"[markdown]": {
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint"
},
// Python
"python.jediEnabled": false,
"python.languageServer": "Pylance",
// Rust
"rust.build_on_save": true,
"rust.clippy_preference": "on",
"rust.full_docs": true,
"rust-analyzer.assist.importMergeBehavior": "last",
"rust-analyzer.cargo.loadOutDirsFromCheck": true,
"rust-analyzer.procMacro.enable": true,
"rust-analyzer.checkOnSave.command": "clippy",
"rust-analyzer.cargo.target": null,
"rust-analyzer.completion.postfix.enable": false,
"rust-analyzer.inlayHints.enable": false,
"rust-analyzer.inlayHints.typeHints": false,
// Dotnet & C#
"csharp.inlayHints.enableInlayHintsForImplicitObjectCreation": true,
"csharp.inlayHints.enableInlayHintsForImplicitVariableTypes": true,
"csharp.inlayHints.enableInlayHintsForLambdaParameterTypes": true,
"csharp.inlayHints.enableInlayHintsForTypes": true,
"dotnet.inlayHints.enableInlayHintsForIndexerParameters": true,
"dotnet.inlayHints.enableInlayHintsForLiteralParameters": true,
"dotnet.inlayHints.enableInlayHintsForObjectCreationParameters": true,
"dotnet.inlayHints.enableInlayHintsForParameters": true,
"dotnetAcquisitionExtension.enableTelemetry": false,
"csharp.experimental.debug.hotReload": true,
"dotnet.inlayHints.enableInlayHintsForOtherParameters": true,
"dotnet.backgroundAnalysis.compilerDiagnosticsScope": "fullSolution",
"dotnet.backgroundAnalysis.analyzerDiagnosticsScope": "fullSolution",
// SQL
"sql-formatter.uppercase": true,
"sql-formatter.dialect": "pl/sql",
// Lua
"Lua.codeLens.enable": true,
// Windsurf
"windsurf.enableAutocomplete": false,
"windsurf.enableSupercomplete": false,
"windsurf.cascadeOpenOnReload": false,
"windsurf.autoExecutionPolicy": "off",
"windsurf.explainAndFixInCurrentConversation": true,
"windsurf.enableTabToJump": false,
"windsurf.autocompleteSpeed": "fast"
}