Last active
October 8, 2025 12:24
-
-
Save jeangatto/3cf79a28ab989a07ac22c9d35ece8789 to your computer and use it in GitHub Desktop.
VS Code Settings (for C#)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "[html]": { | |
| "editor.defaultFormatter": "vscode.html-language-features" | |
| }, | |
| "[css]": { | |
| "editor.defaultFormatter": "esbenp.prettier-vscode" | |
| }, | |
| "[javascript]": { | |
| "editor.defaultFormatter": "esbenp.prettier-vscode" | |
| }, | |
| "[javascriptreact]": { | |
| "editor.defaultFormatter": "esbenp.prettier-vscode" | |
| }, | |
| "[json]": { | |
| "editor.defaultFormatter": "esbenp.prettier-vscode" | |
| }, | |
| "[jsonc]": { | |
| "editor.defaultFormatter": "esbenp.prettier-vscode" | |
| }, | |
| "[typescript]": { | |
| "editor.defaultFormatter": "esbenp.prettier-vscode" | |
| }, | |
| "[typescriptreact]": { | |
| "editor.defaultFormatter": "esbenp.prettier-vscode" | |
| }, | |
| "[dockercompose]": { | |
| "editor.insertSpaces": true, | |
| "editor.tabSize": 2, | |
| "editor.autoIndent": "advanced", | |
| "editor.quickSuggestions": { | |
| "other": true, | |
| "comments": false, | |
| "strings": true | |
| }, | |
| "editor.defaultFormatter": "redhat.vscode-yaml" | |
| }, | |
| "[github-actions-workflow]": { | |
| "editor.defaultFormatter": "redhat.vscode-yaml" | |
| }, | |
| // Telemetry Settings | |
| "docker.lsp.telemetry": "off", | |
| "mdb.sendTelemetry": false, | |
| "redhat.telemetry.enabled": false, | |
| "telemetry.editStats.enabled": false, | |
| "telemetry.telemetryLevel": "off", | |
| // .NET Install Tool | |
| // https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.vscode-dotnet-runtime | |
| "dotnetAcquisitionExtension.enableTelemetry": false, | |
| "dotnetAcquisitionExtension.enablePreviewFeatures": true, | |
| // DOTNET | |
| // https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp | |
| "dotnet.autoInsert.enableAutoInsert": true, | |
| "dotnet.automaticallyCreateSolutionInWorkspace": false, | |
| "dotnet.automaticallySyncWithActiveItem": true, | |
| "dotnet.backgroundAnalysis.analyzerDiagnosticsScope": "fullSolution", | |
| "dotnet.backgroundAnalysis.compilerDiagnosticsScope": "fullSolution", | |
| "dotnet.codeLens.enableReferencesCodeLens": true, | |
| "dotnet.codeLens.enableTestsCodeLens": true, | |
| "dotnet.completion.provideRegexCompletions": true, | |
| "dotnet.completion.showCompletionItemsFromUnimportedNamespaces": true, | |
| "dotnet.completion.showNameCompletionSuggestions": true, | |
| "dotnet.completion.triggerCompletionInArgumentLists": true, | |
| "dotnet.diagnostics.reportInformationAsHint": true, | |
| "dotnet.enableXamlTools": true, | |
| "dotnet.formatting.organizeImportsOnFormat": true, | |
| "dotnet.highlighting.highlightRelatedJsonComponents": true, | |
| "dotnet.highlighting.highlightRelatedRegexComponents": true, | |
| "dotnet.navigation.navigateToDecompiledSources": true, | |
| "dotnet.preferCSharpExtension": false, // true use Omnisharp | |
| "dotnet.projects.enableAutomaticRestore": true, | |
| "dotnet.quickInfo.showRemarksInQuickInfo": true, | |
| "dotnet.server.useOmnisharp": false, // true use Omnisharp | |
| "dotnet.server.useServerGC": true, | |
| "dotnet.testWindow.enableTestExplorerDiff": true, | |
| "dotnet.typeMembers.memberInsertionLocation": "atTheEnd", | |
| "dotnet.typeMembers.propertyGenerationBehavior": "preferAutoProperties", | |
| "dotnet.unitTestDebuggingOptions": { "logging": { "moduleLoad": false } }, | |
| "dotnet.projects.enableFileBasedPrograms": true, | |
| // C# | |
| // https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp | |
| "csharp.debug.expressionEvaluationOptions.allowFastEvaluate": true, | |
| "csharp.debug.expressionEvaluationOptions.allowImplicitFuncEval": true, | |
| "csharp.debug.expressionEvaluationOptions.allowToString": true, | |
| "csharp.debug.hotReloadOnSave": true, | |
| "csharp.debug.hotReloadVerbosity": "minimal", | |
| "csharp.debug.logging.consoleUsageMessage": true, | |
| "csharp.debug.logging.moduleLoad": false, | |
| "csharp.experimental.debug.hotReload": true, | |
| "csharp.format.enable": true, | |
| "csharp.preview.improvedLaunchExperience": true, | |
| "csharp.semanticHighlighting.enabled": true, | |
| "csharp.showOmnisharpLogOnError": true, | |
| "razor.completion.commitElementsWithSpace": true, | |
| "razor.format.codeBlockBraceOnNextLine": true, | |
| // OmniSharp | |
| "omnisharp.enableAsyncCompletion": true, | |
| "omnisharp.enableDecompilationSupport": true, | |
| "omnisharp.enableEditorConfigSupport": true, | |
| "omnisharp.useEditorFormattingSettings": true, | |
| "omnisharp.useModernNet": true, | |
| // Copilot | |
| // https://marketplace.visualstudio.com/items?itemName=GitHub.copilot | |
| // https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat | |
| "github.copilot.editor.enableCodeActions": true, | |
| "github.copilot.nextEditSuggestions.enabled": true, | |
| "github.copilot.renameSuggestions.triggerAutomatically": true, | |
| "github.copilot.enable": { "*": true }, | |
| "chat.todoListTool.enabled": true, | |
| // Debug Settings | |
| "debug.confirmOnExit": "never", | |
| "debug.console.fontFamily": "JetBrainsMono NFM", | |
| "debug.console.fontSize": 16, | |
| "debug.onTaskErrors": "abort", | |
| "debug.terminal.clearBeforeReusing": true, | |
| // Container Settings | |
| "containers.composeBuild": true, | |
| "containers.contexts.showInStatusBar": true, | |
| "containers.images.checkForOutdatedImages": true, | |
| "docker.extension.dockerEngineAvailabilityPrompt": false, | |
| "docker.extension.enableComposeLanguageServer": false, | |
| "docker.lsp.experimental.scout.notPinnedDigest": true, | |
| "docker.lsp.experimental.scout.recommendedTag": true, | |
| // Editor Settings | |
| "editor.accessibilitySupport": "off", | |
| "editor.bracketPairColorization.enabled": true, | |
| "editor.bracketPairColorization.independentColorPoolPerBracketType": false, | |
| "editor.foldingHighlight": true, | |
| "editor.guides.highlightActiveBracketPair": true, | |
| "editor.smoothScrolling": true, | |
| "editor.codeActionsOnSave": { | |
| "source.fixAll": "never", | |
| "source.fixAll.eslint": "never", | |
| "source.formatDocument": "always", | |
| "source.organizeImports": "always" | |
| }, | |
| "editor.codeLens": true, | |
| "editor.codeLensFontFamily": "JetBrainsMono NFM", | |
| "editor.codeLensFontSize": 14, | |
| "editor.fontFamily": "JetBrainsMono NFM", | |
| "editor.fontLigatures": true, | |
| "editor.fontSize": 16, | |
| "editor.fontWeight": "normal", | |
| "editor.formatOnPaste": false, | |
| "editor.formatOnSave": true, | |
| "editor.formatOnType": true, | |
| "editor.inlayHints.fontFamily": "JetBrainsMono NFM", | |
| "editor.inlayHints.fontSize": 13, | |
| "editor.inlineSuggest.edits.showCollapsed": true, | |
| "editor.letterSpacing": 0, | |
| "editor.linkedEditing": true, | |
| "editor.minimap.enabled": false, | |
| "editor.minimap.renderCharacters": false, | |
| "editor.quickSuggestionsDelay": 5, | |
| "editor.rename.enablePreview": true, | |
| "editor.rulers": [{ "column": 120, "color": "#3b3b3b" }], | |
| "editor.semanticHighlighting.enabled": true, | |
| "editor.snippetSuggestions": "top", | |
| "editor.stickyScroll.defaultModel": "outlineModel", | |
| "editor.stickyScroll.enabled": true, | |
| "editor.stickyScroll.scrollWithEditor": true, | |
| "editor.suggest.matchOnWordStartOnly": true, | |
| // Explorer Settings | |
| "explorer.compactFolders": false, | |
| "explorer.confirmDelete": false, | |
| "explorer.confirmDragAndDrop": false, | |
| "explorer.confirmPasteNative": false, | |
| "explorer.fileNesting.enabled": true, | |
| // Extensions Settings | |
| "extensions.autoCheckUpdates": true, | |
| "extensions.autoUpdate": true, | |
| "extensions.ignoreRecommendations": true, | |
| // Prettier Settings | |
| // https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode | |
| "prettier.arrowParens": "avoid", | |
| "prettier.bracketSpacing": true, | |
| "prettier.enable": true, | |
| "prettier.endOfLine": "lf", // Unix | |
| "prettier.printWidth": 120, | |
| "prettier.semi": true, | |
| "prettier.singleQuote": true, | |
| // Files Settings | |
| "files.autoSave": "afterDelay", | |
| "explorer.fileNesting.patterns": { | |
| "*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts", | |
| "*.jsx": "${capture}.js", | |
| "*.ts": "${capture}.js", | |
| "*.tsx": "${capture}.ts", | |
| "appsettings.json": "appsettings.json, appsettings.*.json", | |
| "package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb, bun.lock", | |
| "tsconfig.json": "tsconfig.*.json" | |
| }, | |
| "files.eol": "\n", | |
| "files.exclude": { | |
| "**/.DS_Store": true, | |
| "**/.git": true, | |
| "**/.hg": true, | |
| "**/.svn": true, | |
| "**/.vs/": true, | |
| "**/bin/": true, | |
| "**/Bin/": true, | |
| "**/coverage/": true, | |
| "**/CVS": true, | |
| "**/node_modules/": true, | |
| "**/obj/": true, | |
| "**/Obj/": true, | |
| "**/Thumbs.db": true | |
| }, | |
| // Git Settings | |
| "git.autofetch": true, | |
| "git.autorefresh": true, | |
| "git.confirmSync": false, | |
| "git.enabled": true, | |
| "git.enableSmartCommit": true, | |
| "git.enableStatusBarSync": true, | |
| "git.fetchOnPull": true, | |
| "git.ignoreRebaseWarning": true, | |
| "git.mergeEditor": true, | |
| "git.openRepositoryInParentFolders": "never", | |
| "git.pruneOnFetch": true, | |
| // GitLens | |
| // https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens | |
| "gitlens.advanced.fileHistoryShowAllBranches": true, | |
| "gitlens.advanced.fileHistoryShowMergeCommits": true, | |
| "gitlens.codeLens.enabled": false, | |
| "gitlens.telemetry.enabled": false, | |
| "gitlens.views.branches.showRemoteBranches": true, | |
| // SQL Server Settings | |
| // https://marketplace.visualstudio.com/items?itemName=ms-mssql.mssql | |
| "mssql.applyLocalization": false, | |
| "mssql.enableConnectionPooling": true, | |
| "mssql.enableExperimentalFeatures": true, | |
| "mssql.enableQueryHistoryCapture": true, | |
| "mssql.enableQueryHistoryFeature": true, | |
| "mssql.enableRichExperiences": true, | |
| "mssql.format.alignColumnDefinitionsInColumns": true, | |
| "mssql.format.datatypeCasing": "uppercase", | |
| "mssql.format.keywordCasing": "uppercase", | |
| "mssql.intelliSense.enableErrorChecking": true, | |
| "mssql.intelliSense.enableIntelliSense": true, | |
| "mssql.intelliSense.enableQuickInfo": true, | |
| "mssql.intelliSense.enableSuggestions": true, | |
| "mssql.intelliSense.lowerCaseSuggestions": false, | |
| "mssql.logDebugInfo": false, | |
| "mssql.maxRecentConnections": 0, | |
| "mssql.messagesDefaultOpen": true, | |
| "mssql.objectExplorer.groupBySchema": true, | |
| "mssql.openQueryResultsInTabByDefault": false, | |
| "mssql.openQueryResultsInTabByDefaultDoNotShowPrompt": true, | |
| "mssql.query.executionTimeout": 300, | |
| "mssql.query.statisticsIO": true, | |
| "mssql.query.statisticsTime": true, | |
| "mssql.query.transactionIsolationLevel": "READ COMMITTED", | |
| "mssql.resultsFontFamily": "JetBrainsMono NFM", | |
| "mssql.resultsFontSize": 14, | |
| "mssql.resultsGrid.autoSizeColumns": true, | |
| "mssql.tracingLevel": "Off", | |
| // Markdown Settings | |
| "markdown.occurrencesHighlight.enabled": true, | |
| "markdown.updateLinksOnFileMove.enabled": "always", | |
| "markdown.validate.enabled": true, | |
| // JavaScript Settings | |
| "javascript.autoClosingTags": true, | |
| "javascript.format.enable": true, | |
| "javascript.preferences.renameMatchingJsxTags": true, | |
| "javascript.referencesCodeLens.enabled": true, | |
| "javascript.referencesCodeLens.showOnAllFunctions": true, | |
| "javascript.suggest.autoImports": true, | |
| "javascript.suggest.completeFunctionCalls": true, | |
| "javascript.updateImportsOnFileMove.enabled": "always", | |
| // Typescript Settings | |
| "typescript.autoClosingTags": true, | |
| "typescript.check.npmIsInstalled": true, | |
| "typescript.format.enable": true, | |
| "typescript.implementationsCodeLens.enabled": true, | |
| "typescript.referencesCodeLens.enabled": true, | |
| "typescript.referencesCodeLens.showOnAllFunctions": true, | |
| "typescript.suggest.autoImports": true, | |
| "typescript.suggest.completeFunctionCalls": true, | |
| "typescript.tsserver.log": "off", | |
| "typescript.updateImportsOnFileMove.enabled": "always", | |
| // IntelliCode Settings | |
| // https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode | |
| "vsintellicode.java.completionsEnabled": true, | |
| "vsintellicode.python.completionsEnabled": true, | |
| "vsintellicode.sql.completionsEnabled": true, | |
| "vsintellicode.typescript.completionsEnabled": true, | |
| // Search Settings | |
| "search.showLineNumbers": true, | |
| // Source Control Settings | |
| "scm.diffDecorationsGutterPattern": { "added": true, "modified": true }, | |
| // Terminal Settings | |
| "terminal.explorerKind": "integrated", | |
| "terminal.integrated.confirmOnKill": "never", | |
| "terminal.integrated.cursorBlinking": true, | |
| "terminal.integrated.cursorStyle": "underline", | |
| "terminal.integrated.defaultProfile.windows": "PowerShell", | |
| "terminal.integrated.enableMultiLinePasteWarning": "never", | |
| "terminal.integrated.fontFamily": "MesloLGMDZ Nerd Font", | |
| "terminal.integrated.fontSize": 16, | |
| "terminal.integrated.hideOnStartup": "always", | |
| "terminal.integrated.letterSpacing": 0, | |
| "terminal.integrated.shellIntegration.enabled": true, | |
| "terminal.integrated.enableImages": true, | |
| // XML Settings | |
| // https://marketplace.visualstudio.com/items?itemName=redhat.vscode-xml | |
| "xml.validation.noGrammar": "ignore", | |
| "xml.format.maxLineWidth": 120, | |
| // Worbench Settings | |
| "workbench.startupEditor": "none", | |
| "workbench.editor.closeOnFileDelete": true, | |
| "workbench.editor.highlightModifiedTabs": true, | |
| "workbench.editor.titleScrollbarSizing": "large", | |
| "workbench.colorTheme": "Default Dark+", | |
| "security.workspace.trust.untrustedFiles": "open", | |
| "mdb.mcp.server": "prompt" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment