mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
Add support for dotnet + vscode config changes
- NVim: Omnisharp LSP added - VSCode: gitgraph & dotnet specific configs + reorg configs
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
"extensions.ignoreRecommendations": true,
|
"extensions.ignoreRecommendations": true,
|
||||||
|
|
||||||
// Editor
|
// Editor
|
||||||
"editor.fontSize": 21, // Reduces the Activity Bar size
|
"editor.fontSize": 18,
|
||||||
"editor.cursorWidth": 4,
|
"editor.cursorWidth": 4,
|
||||||
"editor.minimap.enabled": false,
|
"editor.minimap.enabled": false,
|
||||||
"editor.wordWrap": "on",
|
"editor.wordWrap": "on",
|
||||||
@@ -27,16 +27,18 @@
|
|||||||
"files.autoSaveDelay": 1000,
|
"files.autoSaveDelay": 1000,
|
||||||
"diffEditor.renderSideBySide": true,
|
"diffEditor.renderSideBySide": true,
|
||||||
"diffEditor.ignoreTrimWhitespace": false,
|
"diffEditor.ignoreTrimWhitespace": false,
|
||||||
|
"terminal.integrated.shell.linux": "/bin/zsh",
|
||||||
|
|
||||||
// Editor Font
|
// Editor Font
|
||||||
"editor.fontFamily": "JetBrainsMono Nerd Font",
|
"editor.fontFamily": "JetBrainsMono Nerd Font",
|
||||||
"editor.fontLigatures": true,
|
"editor.fontLigatures": true,
|
||||||
"terminal.integrated.fontFamily": "JetBrainsMono Nerd Font",
|
"terminal.integrated.fontFamily": "JetBrainsMono Nerd Font",
|
||||||
"terminal.integrated.fontSize": 20,
|
"terminal.integrated.fontSize": 18,
|
||||||
|
|
||||||
// Workbench - Everything that surrounds the editor
|
// Workbench - Everything that surrounds the editor
|
||||||
"workbench.startupEditor": "newUntitledFile",
|
"workbench.startupEditor": "newUntitledFile",
|
||||||
"workbench.sideBar.location": "left",
|
"workbench.sideBar.location": "left",
|
||||||
|
"security.workspace.trust.untrustedFiles": "prompt",
|
||||||
"workbench.colorCustomizations": {
|
"workbench.colorCustomizations": {
|
||||||
"tab.activeBackground": "#07f7af3f",
|
"tab.activeBackground": "#07f7af3f",
|
||||||
"tab.activeBorder": "#ffffff"
|
"tab.activeBorder": "#ffffff"
|
||||||
@@ -47,26 +49,24 @@
|
|||||||
|
|
||||||
// Debugging
|
// Debugging
|
||||||
"debug.toolBarLocation": "docked",
|
"debug.toolBarLocation": "docked",
|
||||||
|
"debug.onTaskErrors": "debugAnyway",
|
||||||
|
|
||||||
// NeoVIM
|
// NeoVIM
|
||||||
"keyboard.dispatch": "keyCode", // Hack to make CAPS->Esc remap work on Ubuntu
|
// "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.logLevel": "warn",
|
// "vscode-neovim.logLevel": "warn",
|
||||||
"vscode-neovim.neovimExecutablePaths.linux": "/home/linuxbrew/.linuxbrew/bin/nvim",
|
// "vscode-neovim.neovimExecutablePaths.linux": "/home/linuxbrew/.linuxbrew/bin/nvim",
|
||||||
"vscode-neovim.useWSL": true
|
// "vscode-neovim.useWSL": true,
|
||||||
|
|
||||||
//
|
//
|
||||||
// Prettier Plugin
|
// Prettier Plugin
|
||||||
"prettier.tabWidth": 4,
|
"prettier.tabWidth": 4,
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
||||||
"prettier.useTabs": false,
|
"prettier.useTabs": false,
|
||||||
"prettier.printWidth": 85,
|
"prettier.printWidth": 85,
|
||||||
"[html]": {
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"[html,json]": {
|
||||||
},
|
|
||||||
"[json]": {
|
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -124,7 +124,6 @@
|
|||||||
// Shell check plugin
|
// Shell check plugin
|
||||||
"shellcheck.run": "onSave",
|
"shellcheck.run": "onSave",
|
||||||
"shellcheck.exclude": ["2181", "2039"],
|
"shellcheck.exclude": ["2181", "2039"],
|
||||||
"security.workspace.trust.untrustedFiles": "open",
|
|
||||||
|
|
||||||
// Better Comments
|
// Better Comments
|
||||||
"better-comments.tags": [
|
"better-comments.tags": [
|
||||||
@@ -177,11 +176,17 @@
|
|||||||
|
|
||||||
// JavaScript
|
// JavaScript
|
||||||
"typescript.suggest.paths": false,
|
"typescript.suggest.paths": false,
|
||||||
|
"debug.javascript.autoAttachFilter": "disabled",
|
||||||
|
|
||||||
// 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,
|
||||||
|
"git-graph.dialog.general.referenceInputSpaceSubstitution": "Underscore",
|
||||||
|
"git-graph.enhancedAccessibility": true,
|
||||||
|
"git-graph.dialog.rebase.launchInteractiveRebase": true,
|
||||||
|
|
||||||
// Markdown
|
// Markdown
|
||||||
"markdownlint.run": "onType",
|
"markdownlint.run": "onType",
|
||||||
@@ -221,15 +226,10 @@
|
|||||||
// "rust-analyzer.inlayHints.enable": false,
|
// "rust-analyzer.inlayHints.enable": false,
|
||||||
// "rust-analyzer.inlayHints.typeHints": false,
|
// "rust-analyzer.inlayHints.typeHints": false,
|
||||||
//
|
//
|
||||||
"terminal.integrated.shell.linux": "/bin/zsh",
|
|
||||||
"debug.javascript.autoAttachFilter": "disabled",
|
|
||||||
"debug.onTaskErrors": "debugAnyway",
|
|
||||||
"vim.disableExtension": true,
|
|
||||||
"window.zoomLevel": -1,
|
|
||||||
|
|
||||||
// Dotnet & C#
|
// Dotnet & C#
|
||||||
"[csharp]": {
|
"[csharp]": {
|
||||||
"editor.defaultFormatter": "ms-dotnettools.csharp"
|
"editor.defaultFormatter": "csharpier.csharpier-vscode"
|
||||||
},
|
},
|
||||||
"csharp.inlayHints.enableInlayHintsForImplicitObjectCreation": true,
|
"csharp.inlayHints.enableInlayHintsForImplicitObjectCreation": true,
|
||||||
"csharp.inlayHints.enableInlayHintsForImplicitVariableTypes": true,
|
"csharp.inlayHints.enableInlayHintsForImplicitVariableTypes": true,
|
||||||
@@ -241,5 +241,7 @@
|
|||||||
"dotnet.inlayHints.enableInlayHintsForParameters": true,
|
"dotnet.inlayHints.enableInlayHintsForParameters": true,
|
||||||
"dotnetAcquisitionExtension.enableTelemetry": false,
|
"dotnetAcquisitionExtension.enableTelemetry": false,
|
||||||
"csharp.experimental.debug.hotReload": true,
|
"csharp.experimental.debug.hotReload": true,
|
||||||
|
"dotnet.inlayHints.enableInlayHintsForOtherParameters": true,
|
||||||
|
"dotnet.backgroundAnalysis.compilerDiagnosticsScope": "fullSolution",
|
||||||
|
"dotnet.backgroundAnalysis.analyzerDiagnosticsScope": "fullSolution"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -70,7 +70,23 @@ return {
|
|||||||
},
|
},
|
||||||
bashls = { filetypes = { "sh", "bash", "zsh" } },
|
bashls = { filetypes = { "sh", "bash", "zsh" } },
|
||||||
html = { filetypes = { "html", "twig", "hbs" } },
|
html = { filetypes = { "html", "twig", "hbs" } },
|
||||||
omnisharp = {},
|
omnisharp = {
|
||||||
|
-- DotNet = {
|
||||||
|
-- enablePackageRestore = true,
|
||||||
|
-- },
|
||||||
|
settings = {
|
||||||
|
FormattingOptions = {
|
||||||
|
OrganizeImports = true,
|
||||||
|
},
|
||||||
|
RoslynExtensionOptions = {
|
||||||
|
EnableAnalyzerSupport = true,
|
||||||
|
EnableImportCompletion = true,
|
||||||
|
},
|
||||||
|
Sdk = {
|
||||||
|
IncludePrereleases = false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
tsserver = {
|
tsserver = {
|
||||||
settings = {
|
settings = {
|
||||||
completions = {
|
completions = {
|
||||||
|
|||||||
3
common/.config/nvim/lua/plugins/dotnet.lua
Normal file
3
common/.config/nvim/lua/plugins/dotnet.lua
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
return {
|
||||||
|
-- { "OmniSharp/omnisharp-vim" },
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user