Files
dotfiles/common/.config/Code/User/settings.json
Pratik Tripathy 4c5aa8ff03 Vscode-Neovim Support
- NeoVIM: Updates to NOT certain plugins in VSCode
- NeoVIM: Keymaps loaded only when neovim and NOT for VSCode
- VSCode: Added NeoVIM plugin with corresponding settings
2024-07-01 22:08:08 +05:30

259 lines
7.8 KiB
JSON

{
// Global
"update.mode": "manual",
"workbench.settings.editor": "json",
// Privacy
"telemetry.telemetryLevel": "off",
"extensions.ignoreRecommendations": true,
// Editor
"editor.fontSize": 18,
"editor.cursorWidth": 4,
"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": 1000,
"diffEditor.renderSideBySide": true,
"diffEditor.ignoreTrimWhitespace": false,
"terminal.integrated.shell.linux": "/bin/zsh",
// Editor Font
"editor.fontFamily": "JetBrainsMono Nerd Font",
"editor.fontLigatures": true,
"terminal.integrated.fontFamily": "JetBrainsMono Nerd Font",
"terminal.integrated.fontSize": 18,
// Workbench - Everything that surrounds the editor
"workbench.startupEditor": "newUntitledFile",
"workbench.sideBar.location": "left",
"security.workspace.trust.untrustedFiles": "prompt",
"workbench.colorCustomizations": {
"tab.activeBackground": "#07f7af3f",
"tab.activeBorder": "#ffffff"
},
"bookmarks.navigateThroughAllFiles": true,
"window.menuBarVisibility": "compact",
"explorer.confirmDragAndDrop": false,
// Debugging
"debug.toolBarLocation": "docked",
"debug.onTaskErrors": "debugAnyway",
// NeoVIM
"keyboard.dispatch": "keyCode", // Hack to make CAPS->Esc remap work on Ubuntu
"extensions.experimental.affinity": {
"asvetliakov.vscode-neovim": 1
},
// "vscode-neovim.neovimExecutablePaths.linux": "/home/linuxbrew/.linuxbrew/bin/nvim",
// "vscode-neovim.useWSL": true,
// https://github.com/vscode-neovim/vscode-neovim/wiki/Settings#search-result-border
"vscode-neovim.highlightGroups.highlights": {
"IncSearch": {
"borderStyle": "solid",
"borderWidth": "1px"
},
"Search": {
"borderStyle": "solid",
"borderWidth": "1px"
}
},
//
// Prettier Plugin
"prettier.tabWidth": 4,
"prettier.useTabs": false,
"prettier.printWidth": 85,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[html,json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// Code Spell Checker Plugin
"cSpell.diagnosticLevel": "Hint",
"cSpell.allowCompoundWords": true,
"cSpell.fixSpellingWithRenameProvider": true,
"cSpell.enableFiletypes": ["shellscript"],
"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"
],
// Shell check plugin
"shellcheck.run": "onSave",
"shellcheck.exclude": ["2181", "2039"],
// 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
}
],
// JavaScript
"typescript.suggest.paths": false,
"debug.javascript.autoAttachFilter": "disabled",
// 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,
// 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",
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "GitHub Dark Dimmed",
// 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]": {
"editor.defaultFormatter": "csharpier.csharpier-vscode"
},
"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"
}