feat(vscode): Create user profiles per language type

- Created and backed up profiles: Default, DotNet, FrontEnd, Python
- Reorged settings: Editor, plugin, coding and others are segregated
This commit is contained in:
Pratik Tripathy
2024-07-19 19:01:19 +05:30
parent 491e545eeb
commit bb86dea200
4 changed files with 126 additions and 126 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -8,8 +8,8 @@
"extensions.ignoreRecommendations": true, "extensions.ignoreRecommendations": true,
// Editor // Editor
"editor.fontSize": 18, "editor.fontSize": 14,
"editor.cursorWidth": 4, "editor.cursorWidth": 2,
"editor.minimap.enabled": false, "editor.minimap.enabled": false,
"editor.wordWrap": "on", "editor.wordWrap": "on",
"editor.formatOnSave": true, "editor.formatOnSave": true,
@@ -22,119 +22,73 @@
"editor.insertSpaces": true, "editor.insertSpaces": true,
"editor.detectIndentation": false, "editor.detectIndentation": false,
"editor.multiCursorModifier": "ctrlCmd", "editor.multiCursorModifier": "ctrlCmd",
"editor.cursorSurroundingLines": 8,
"files.trimTrailingWhitespace": true, "files.trimTrailingWhitespace": true,
"files.autoSave": "afterDelay", "files.autoSave": "afterDelay",
"files.autoSaveDelay": 1000, "files.autoSaveDelay": 500,
"diffEditor.renderSideBySide": true, "diffEditor.renderSideBySide": true,
"diffEditor.ignoreTrimWhitespace": false, "diffEditor.ignoreTrimWhitespace": false,
"terminal.integrated.shell.linux": "/bin/zsh", "terminal.integrated.shell.linux": "/bin/zsh",
// Editor Font // Editor Font
"editor.fontFamily": "JetBrainsMono Nerd Font", "editor.fontFamily": "FiraCode Nerd Font Mono",
"editor.fontLigatures": true, "editor.fontLigatures": true,
"terminal.integrated.fontFamily": "JetBrainsMono Nerd Font", "terminal.integrated.fontFamily": "FiraCode Nerd Font Mono",
"terminal.integrated.fontSize": 18, "terminal.integrated.fontSize": 15,
// Workbench - Everything that surrounds the editor // Workbench - Everything that surrounds the editor
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "newUntitledFile", "workbench.startupEditor": "newUntitledFile",
"workbench.sideBar.location": "left", "workbench.sideBar.location": "right",
"security.workspace.trust.untrustedFiles": "prompt",
"workbench.colorCustomizations": { "workbench.colorCustomizations": {
"tab.activeBackground": "#07f7af3f", "tab.activeBackground": "#07f7af3f",
"tab.activeBorder": "#ffffff" "tab.activeBorder": "#ffffff"
}, },
"bookmarks.navigateThroughAllFiles": true,
"window.menuBarVisibility": "compact", "window.menuBarVisibility": "compact",
"explorer.confirmDragAndDrop": false, "explorer.confirmDragAndDrop": false,
"security.workspace.trust.untrustedFiles": "open",
// Debugging // Project Manager
"debug.toolBarLocation": "docked", "projectManager.git.baseFolders": [
"debug.onTaskErrors": "debugAnyway", ".git"
],
// NeoVIM // VIM & NeoVIM
"keyboard.dispatch": "keyCode", // Hack to make CAPS->Esc remap work on Ubuntu
"extensions.experimental.affinity": { "extensions.experimental.affinity": {
"asvetliakov.vscode-neovim": 1 "asvetliakov.vscode-neovim": 1
}, },
// "vscode-neovim.neovimExecutablePaths.linux": "/home/linuxbrew/.linuxbrew/bin/nvim", "vscode-neovim.useWSL": true,
// "vscode-neovim.useWSL": true, "vscode-neovim.neovimExecutablePaths.linux": "/home/pratik/downloads/nvim.appimage",
// https://github.com/vscode-neovim/vscode-neovim/wiki/Settings#search-result-border
"vscode-neovim.highlightGroups.highlights": { // Debugging
"IncSearch": { "debug.toolBarLocation": "docked",
"borderStyle": "solid", "debug.javascript.autoAttachFilter": "disabled",
"borderWidth": "1px" "debug.onTaskErrors": "debugAnyway",
},
"Search": {
"borderStyle": "solid",
"borderWidth": "1px"
}
},
//
// Prettier Plugin // Prettier Plugin
"prettier.tabWidth": 4, "prettier.tabWidth": 4,
"prettier.useTabs": false, "prettier.useTabs": false,
"prettier.printWidth": 85, "prettier.printWidth": 85,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[html,json]": { // Formatters
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
}, },
"[json]": {
// Code Spell Checker Plugin "editor.defaultFormatter": "esbenp.prettier-vscode"
"cSpell.diagnosticLevel": "Hint", },
"cSpell.allowCompoundWords": true, "[javascript]": {
"cSpell.fixSpellingWithRenameProvider": true, "editor.defaultFormatter": "esbenp.prettier-vscode"
"cSpell.enableFiletypes": ["shellscript"], },
"cSpell.minWordLength": 3, "[csharp]": {
"cSpell.numSuggestions": 10, "editor.defaultFormatter": "csharpier.csharpier-vscode"
"cSpell.userWords": [ },
"Aadhaar", "[sql]": {
"Aiginia", "editor.defaultFormatter": "adpyke.vscode-sql-formatter"
"BBSR", },
"Bhubaneswar", "[python]": {
"CLR", "editor.defaultFormatter": "ms-python.black-formatter",
"Destructured", "editor.formatOnSave": true
"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
"better-comments.tags": [ "better-comments.tags": [
@@ -185,19 +139,77 @@
} }
], ],
// JavaScript // Code Spell Checker Plugin
"typescript.suggest.paths": false, "cSpell.diagnosticLevel": "Hint",
"debug.javascript.autoAttachFilter": "disabled", "cSpell.allowCompoundWords": true,
"cSpell.fixSpellingWithRenameProvider": true,
"cSpell.enableFiletypes": [
"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
"git.enableSmartCommit": true, "git.enableSmartCommit": true,
"git.autofetch": true, "git.autofetch": true,
"git.confirmSync": false, "git.confirmSync": false,
"git-graph.dialog.addTag.pushToRemote": true,
"git-graph.dialog.createBranch.checkOut": true, // Shell check plugin
"git-graph.dialog.general.referenceInputSpaceSubstitution": "Underscore", "shellcheck.run": "onSave",
"git-graph.enhancedAccessibility": true, "shellcheck.exclude": [
"git-graph.dialog.rebase.launchInteractiveRebase": true, "2181",
"2039"
],
// JavaScript
"typescript.suggest.paths": false,
// Markdown // Markdown
"markdownlint.run": "onType", "markdownlint.run": "onType",
@@ -221,38 +233,23 @@
// Python // Python
"python.jediEnabled": false, "python.jediEnabled": false,
"python.languageServer": "Pylance", "python.languageServer": "Pylance",
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "GitHub Dark Dimmed",
// Rust // Rust
// "rust.build_on_save": true, "rust.build_on_save": true,
// "rust.clippy_preference": "on", "rust.clippy_preference": "on",
// "rust.full_docs": true, "rust.full_docs": true,
// "rust-analyzer.assist.importMergeBehavior": "last", "rust-analyzer.assist.importMergeBehavior": "last",
// "rust-analyzer.cargo.loadOutDirsFromCheck": true, "rust-analyzer.cargo.loadOutDirsFromCheck": true,
// "rust-analyzer.procMacro.enable": true, "rust-analyzer.procMacro.enable": true,
// "rust-analyzer.checkOnSave.command": "clippy", "rust-analyzer.checkOnSave.command": "clippy",
// "rust-analyzer.cargo.target": null, "rust-analyzer.cargo.target": null,
// "rust-analyzer.completion.postfix.enable": false, "rust-analyzer.completion.postfix.enable": false,
// "rust-analyzer.inlayHints.enable": false, "rust-analyzer.inlayHints.enable": false,
// "rust-analyzer.inlayHints.typeHints": false, "rust-analyzer.inlayHints.typeHints": false,
//
// Dotnet & C# // SQL
"[csharp]": { "sql-formatter.uppercase": true,
"editor.defaultFormatter": "csharpier.csharpier-vscode" "sql-formatter.dialect": "pl/sql",
}, "workbench.colorTheme": "GitHub Dark Dimmed",
"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"
} }