Files
dotfiles/common/.config/Code/User/settings.json
2024-12-10 20:09:31 +05:30

298 lines
8.8 KiB
JSON

{
// Global
"update.mode": "manual",
"workbench.settings.editor": "json",
// Privacy
"telemetry.telemetryLevel": "off",
"extensions.ignoreRecommendations": true,
// Editor
"editor.fontSize": 18,
"editor.cursorWidth": 3,
"editor.minimap.enabled": false,
"editor.wordWrap": "on",
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.copyWithSyntaxHighlighting": true,
"editor.acceptSuggestionOnEnter": "smart",
"editor.snippetSuggestions": "top",
"editor.guides.indentation": true,
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"editor.multiCursorModifier": "ctrlCmd",
"editor.cursorSurroundingLines": 8,
"files.trimTrailingWhitespace": true,
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 500,
"diffEditor.renderSideBySide": true,
"diffEditor.ignoreTrimWhitespace": false,
"terminal.integrated.shell.linux": "/bin/zsh",
// Editor Font
"editor.fontFamily": "FiraCode Nerd Font Mono",
"editor.fontLigatures": true,
"terminal.integrated.fontFamily": "FiraCode Nerd Font Mono",
"terminal.integrated.fontSize": 15,
// Workbench - Everything that surrounds the editor
"workbench.colorTheme": "GitHub Dark Dimmed",
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "newUntitledFile",
"workbench.sideBar.location": "right",
"workbench.colorCustomizations": {
"tab.activeBackground": "#07f7af3f",
"tab.activeBorder": "#ffffff",
"statusBar.background": "#005f87",
"statusBar.noFolderBackground": "#005f87",
"statusBar.debuggingBackground": "#005f87",
"statusBar.foreground": "#ffffff",
"statusBar.debuggingForeground": "#ffffff"
},
"window.menuBarVisibility": "compact",
"explorer.confirmDragAndDrop": false,
"security.workspace.trust.untrustedFiles": "open",
// Project Manager
"projectManager.git.baseFolders": [".git"],
// VIM & NeoVIM
"keyboard.dispatch": "keyCode",
"extensions.experimental.affinity": {
"asvetliakov.vscode-neovim": 1,
"vscodevim.vim": 1
},
"vim.showMarksInGutter": true,
"vim.replaceWithRegister": true,
"vim.cursorStylePerMode.normal": "block",
"vim.cursorStylePerMode.replace": "block",
"vim.cursorStylePerMode.visual": "block",
"vim.cursorStylePerMode.visualblock": "block",
"vim.cursorStylePerMode.visualline": "block",
// "vim.smartRelativeLine": true,
"vim.easymotion": true,
// Debugging
"debug.toolBarLocation": "docked",
"debug.javascript.autoAttachFilter": "disabled",
"debug.onTaskErrors": "debugAnyway",
// Prettier Plugin
"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
},
// 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": {
"default": true,
"MD007": false,
"MD030": false,
"MD033": false,
"MD046": false,
"no-hard-tabs": false,
"line-length": false
},
// 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",
// Codium
"codium.codeCompletion.enable": true,
"windsurf.enableSupercomplete": false,
"windsurf.enableAutocomplete": false
}