Last active
May 4, 2026 12:54
-
-
Save jeangatto/3cf79a28ab989a07ac22c9d35ece8789 to your computer and use it in GitHub Desktop.
VS Code Settings (for C# and Copilot AI)
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
| { | |
| // Language-specific formatter settings: choose the default formatter for each file type. | |
| // This makes sure HTML, CSS, JS, JSON, and TypeScript files are formatted consistently. | |
| "[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", | |
| }, | |
| // JetBrains Mono Font | |
| // Use JetBrains Mono NFM for a consistent coding font with ligatures and Nerd Font | |
| // https://www.jetbrains.com/lp/mono/ | |
| // https://www.nerdfonts.com/font-downloads | |
| // Telemetry Settings | |
| // Disable telemetry reporting for extensions and editor features to protect privacy. | |
| "docker.lsp.telemetry": "off", | |
| "mdb.sendTelemetry": false, | |
| "redhat.telemetry.enabled": false, | |
| "telemetry.editStats.enabled": false, | |
| "telemetry.feedback.enabled": false, | |
| "telemetry.telemetryLevel": "off", | |
| // .NET Install Tool | |
| // Configure the .NET runtime acquisition extension behavior and privacy settings. | |
| // https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.vscode-dotnet-runtime | |
| "dotnetAcquisitionExtension.enableTelemetry": false, | |
| "dotnetAcquisitionExtension.enablePreviewFeatures": true, | |
| // .NET | |
| // General .NET experience settings for code completion, analysis, and formatting. | |
| // 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, | |
| "dotnet.projects.enableAutomaticRestore": true, | |
| "dotnet.projects.enableFileBasedPrograms": true, | |
| "dotnet.quickInfo.showRemarksInQuickInfo": true, | |
| "dotnet.server.useOmnisharp": false, | |
| "dotnet.server.useServerGC": true, | |
| "dotnet.testWindow.enableTestExplorerDiff": true, | |
| "dotnet.typeMembers.memberInsertionLocation": "atTheEnd", | |
| "dotnet.typeMembers.propertyGenerationBehavior": "preferAutoProperties", | |
| "dotnet.unitTestDebuggingOptions": { "logging": { "moduleLoad": false } }, | |
| // C# | |
| // C# debugging and editor behavior options, including hot reload and semantic highlighting. | |
| // 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 | |
| // Configure OmniSharp editor integration for C# language services and completion. | |
| "omnisharp.enableAsyncCompletion": true, | |
| "omnisharp.enableDecompilationSupport": true, | |
| "omnisharp.enableEditorConfigSupport": true, | |
| "omnisharp.useEditorFormattingSettings": true, | |
| "omnisharp.useModernNet": true, | |
| // Chat/Copilot | |
| // Settings for VS Code chat, Copilot, and AI-assisted editing features. | |
| "chat.checkpoints.showFileChanges": true, | |
| "chat.extensionUnification.enabled": true, | |
| "chat.mcp.assisted.nuget.enabled": true, | |
| "chat.mcp.gallery.enabled": true, | |
| "chat.plugins.enabled": true, | |
| "chat.tools.terminal.autoApprove": { "dotnet test": true }, | |
| "chat.viewProgressBadge.enabled": true, | |
| "chat.viewSessions.orientation": "stacked", | |
| "chat.autopilot.enabled": true, | |
| "chat.editing.explainChanges.enabled": true, | |
| "chat.unifiedAgentsBar.enabled": true, | |
| // Inline Chat | |
| // Enable the new inline chat experience for code editing and suggestions. | |
| "inlineChat.enableV2": true, | |
| // Enable notebook-specific AI agent behavior for inline and notebook editing sessions. | |
| "inlineChat.notebookAgent": true, | |
| // Copilot | |
| // Fine-tune GitHub Copilot behavior, suggestions, and code actions in the editor. | |
| "github-actions.workflows.pinned.refresh.enabled": true, | |
| "github.copilot.chat.agent.autoFix": true, | |
| "github.copilot.chat.agent.currentEditorContext.enabled": true, | |
| "github.copilot.chat.agent.largeToolResultsToDisk.enabled": true, | |
| "github.copilot.chat.alternateGptPrompt.enabled": true, | |
| "github.copilot.chat.anthropic.tools.websearch.enabled": true, | |
| "github.copilot.chat.backgroundAgent.enabled": true, | |
| "github.copilot.chat.claudeAgent.enabled": true, | |
| "github.copilot.chat.cli.aiGenerateBranchNames.enabled": true, | |
| "github.copilot.chat.cli.autoCommit.enabled": true, | |
| "github.copilot.chat.cli.planCommand.enabled": true, | |
| "github.copilot.chat.cli.terminalLinks.enabled": true, | |
| "github.copilot.chat.cli.thinkingEffort.enabled": true, | |
| "github.copilot.chat.codesearch.agent.enabled": true, | |
| "github.copilot.chat.codesearch.enabled": true, | |
| "github.copilot.chat.copilotMemory.enabled": true, | |
| "github.copilot.chat.getSearchViewResultsSkill.enabled": true, | |
| "github.copilot.chat.githubMcpServer.enabled": true, | |
| "github.copilot.chat.gpt54ConcisePrompt.enabled": true, | |
| "github.copilot.chat.gpt54LargePrompt.enabled": true, | |
| "github.copilot.chat.inlineEdits.nextCursorPrediction.displayLine": true, | |
| "github.copilot.chat.inlineEdits.renameSymbolSuggestions": true, | |
| "github.copilot.chat.languageContext.fix.typescript.enabled": true, | |
| "github.copilot.chat.languageContext.inline.typescript.enabled": true, | |
| "github.copilot.chat.languageContext.typescript.enabled": true, | |
| "github.copilot.chat.languageContext.typescript.includeDocumentation": true, | |
| "github.copilot.chat.newWorkspace.useContext7": true, | |
| "github.copilot.chat.notebook.enhancedNextEditSuggestions.enabled": true, | |
| "github.copilot.chat.notebook.followCellExecution.enabled": true, | |
| "github.copilot.chat.rateLimitAutoSwitchToAuto": true, | |
| "github.copilot.chat.responsesApi.promptCacheKey.enabled": true, | |
| "github.copilot.chat.responsesApiContextManagement.enabled": true, | |
| "github.copilot.chat.scopeSelection": true, | |
| "github.copilot.chat.summarizeAgentConversationHistory.enabled": true, | |
| "github.copilot.chat.switchAgent.enabled": true, | |
| "github.copilot.chat.tools.memory.enabled": true, | |
| "github.copilot.editor.enableCodeActions": true, | |
| "github.copilot.enable": { "*": true }, | |
| "github.copilot.nextEditSuggestions.enabled": true, | |
| "github.copilot.nextEditSuggestions.extendedRange": true, | |
| "github.copilot.nextEditSuggestions.fixes": true, | |
| "github.copilot.renameSuggestions.triggerAutomatically": true, | |
| "github.copilot.chat.commitMessageGeneration.instructions": [ | |
| { "text": "Use conventional commit format: type(scope): description." }, | |
| { "text": "Use imperative mood: 'Add feature' not 'Added feature'." }, | |
| { "text": "Keep subject line under 50 characters." }, | |
| { "text": "Use types: feat, fix, docs, style, refactor, perf, test, chore, ci." }, | |
| { "text": "Include scope when relevant (e.g., api, ui, auth)." }, | |
| { "text": "Use bullet points (*) for clarity." }, | |
| ], | |
| // Debug Settings | |
| // Configure the integrated debugger experience and terminal reuse behavior. | |
| "debug.confirmOnExit": "never", | |
| "debug.console.fontFamily": "JetBrainsMono NFM", | |
| "debug.console.fontSize": 16, | |
| "debug.onTaskErrors": "abort", | |
| "debug.terminal.clearBeforeReusing": true, | |
| // Container Settings | |
| // Docker and container extension behavior for compose and container status. | |
| "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 | |
| // General editor preferences for formatting, visual appearance, and typing behavior. | |
| "editor.accessibilitySupport": "off", | |
| "editor.autoIndentOnPaste": true, | |
| "editor.bracketPairColorization.enabled": true, | |
| "editor.bracketPairColorization.independentColorPoolPerBracketType": false, | |
| "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.foldingHighlight": true, | |
| "editor.fontFamily": "JetBrainsMono NFM", | |
| "editor.fontLigatures": true, | |
| "editor.fontSize": 15.5, | |
| "editor.fontWeight": "normal", | |
| "editor.formatOnPaste": true, | |
| "editor.formatOnSave": true, | |
| "editor.formatOnType": true, | |
| "editor.guides.highlightActiveBracketPair": 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.selectionHighlightMultiline": true, | |
| "editor.semanticHighlighting.enabled": true, | |
| "editor.smoothScrolling": true, | |
| "editor.snippetSuggestions": "top", | |
| "editor.stickyScroll.defaultModel": "outlineModel", | |
| "editor.stickyScroll.enabled": true, | |
| "editor.stickyScroll.scrollWithEditor": true, | |
| "editor.suggest.matchOnWordStartOnly": true, | |
| // Diff Editor | |
| "diffEditor.ignoreTrimWhitespace": false, | |
| "diffEditor.hideUnchangedRegions.enabled": true, | |
| "diffEditor.codeLens": true, | |
| // Explorer Settings | |
| // Control file explorer folder collapsing and confirmation prompts for file actions. | |
| "explorer.compactFolders": false, | |
| "explorer.confirmDelete": false, | |
| "explorer.confirmDragAndDrop": false, | |
| "explorer.confirmPasteNative": false, | |
| "explorer.fileNesting.enabled": true, | |
| // Extensions Settings | |
| // Control automatic update and recommendation behavior for installed extensions. | |
| "extensions.autoCheckUpdates": true, | |
| "extensions.autoUpdate": true, | |
| "extensions.ignoreRecommendations": true, | |
| // Prettier Settings | |
| // Formatting preferences for the Prettier extension across supported file types. | |
| // 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 | |
| // File handling preferences such as autosave, end-of-line, and file exclusion patterns. | |
| "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 | |
| // Source control integration preferences for Git and GitHub features. | |
| "git.autofetch": true, | |
| "git.autorefresh": true, | |
| "git.blame.editorDecoration.enabled": true, | |
| "git.blame.editorDecoration.template": "${subject}, ${authorName} (${authorEmail}) (${authorDateAgo})", | |
| "git.blame.statusBarItem.enabled": true, | |
| "git.confirmSync": false, | |
| "git.enableCommitSigning": true, | |
| "git.enabled": true, | |
| "git.enableSmartCommit": true, | |
| "git.enableStatusBarSync": true, | |
| "git.fetchOnPull": true, | |
| "git.ignoreRebaseWarning": true, | |
| "git.mergeEditor": true, | |
| "git.openRepositoryInParentFolders": "never", | |
| "git.pruneOnFetch": true, | |
| "git.showPushSuccessNotification": true, | |
| "git.terminalGitEditor": true, | |
| "git.timeline.showUncommitted": true, | |
| "github.showAvatar": true, | |
| // Markdown Settings | |
| // Enable Markdown validation, link updates, and syntax highlighting features. | |
| "markdown.occurrencesHighlight.enabled": true, | |
| "markdown.updateLinksOnFileMove.enabled": "always", | |
| "markdown.validate.enabled": true, | |
| // PowerShell | |
| // PowerShell extension settings for code analysis, formatting, and editor features. | |
| // https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell | |
| "powershell.analyzeOpenDocumentsOnly": true, | |
| "powershell.buttons.showRunButtons": true, | |
| "powershell.codeFolding.enable": true, | |
| "powershell.codeFolding.showLastLine": true, | |
| "powershell.codeFormatting.alignPropertyValuePairs": true, | |
| "powershell.codeFormatting.autoCorrectAliases": true, | |
| "powershell.codeFormatting.avoidSemicolonsAsLineTerminators": true, | |
| "powershell.codeFormatting.openBraceOnSameLine": true, | |
| "powershell.codeFormatting.trimWhitespaceAroundPipe": true, | |
| "powershell.codeFormatting.useConstantStrings": true, | |
| "powershell.codeFormatting.useCorrectCasing": true, | |
| "powershell.codeFormatting.whitespaceBetweenParameters": true, | |
| "powershell.enableReferencesCodeLens": true, | |
| "powershell.integratedConsole.showOnStartup": false, | |
| "powershell.integratedConsole.suppressStartupBanner": true, | |
| "powershell.scriptAnalysis.enable": true, | |
| "powershell.trace.server": "off", | |
| // SQL Server Settings | |
| // Configure MSSQL extension behavior and query formatting/preferences. | |
| // https://marketplace.visualstudio.com/items?itemName=ms-mssql.mssql | |
| "mssql.enableConnectionPooling": true, | |
| "mssql.enableExperimentalFeatures": true, | |
| "mssql.enableQueryHistoryCapture": true, | |
| "mssql.enableQueryHistoryFeature": 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.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.showChangelogOnUpdate": false, | |
| "mssql.tracingLevel": "Off", | |
| "mssql.connectionGroups": [{ "name": "ROOT", "id": "ROOT" }], | |
| // JavaScript/Typescript Settings | |
| // JS/TS language support options for refactoring, completion, and import management. | |
| "js/ts.autoClosingTags.enabled": true, | |
| "js/ts.format.enabled": true, | |
| "js/ts.preferences.renameMatchingJsxTags": true, | |
| "js/ts.referencesCodeLens.enabled": true, | |
| "js/ts.referencesCodeLens.showOnAllFunctions": true, | |
| "js/ts.suggest.autoImports": true, | |
| "js/ts.suggest.completeFunctionCalls": true, | |
| "js/ts.updateImportsOnFileMove.enabled": "always", | |
| "js/ts.tsserver.log": "off", | |
| // Search Settings | |
| // Behavior for the built-in search experience, including line number display. | |
| "search.showLineNumbers": true, | |
| // Source Control Settings | |
| // Configure source control decorations and diff visualization in the SCM view. | |
| "scm.diffDecorationsGutterPattern": { "added": true, "modified": true }, | |
| // Terminal Settings | |
| // Integrated terminal appearance and behavior preferences for the VS Code terminal. | |
| "terminal.explorerKind": "integrated", | |
| "terminal.integrated.confirmOnKill": "never", | |
| "terminal.integrated.copyOnSelection": true, | |
| "terminal.integrated.cursorBlinking": true, | |
| "terminal.integrated.cursorStyle": "underline", | |
| "terminal.integrated.defaultProfile.windows": "PowerShell", | |
| "terminal.integrated.enableImages": true, | |
| "terminal.integrated.enableMultiLinePasteWarning": "never", | |
| "terminal.integrated.enableVisualBell": true, | |
| "terminal.integrated.fontFamily": "MesloLGMDZ Nerd Font", | |
| "terminal.integrated.fontLigatures.enabled": true, | |
| "terminal.integrated.fontSize": 16, | |
| "terminal.integrated.hideOnStartup": "always", | |
| "terminal.integrated.letterSpacing": 0, | |
| "terminal.integrated.shellIntegration.enabled": true, | |
| "terminal.integrated.smoothScrolling": true, | |
| "terminal.integrated.stickyScroll.enabled": false, | |
| "terminal.integrated.suggest.providers": { "lsp": true }, | |
| "terminal.integrated.suggest.suggestOnTriggerCharacters": true, | |
| "terminal.integrated.tabs.enableAnimation": true, | |
| "terminal.integrated.textBlinking": true, | |
| // XML Settings | |
| // XML validation and formatting options for XML files. | |
| // https://marketplace.visualstudio.com/items?itemName=redhat.vscode-xml | |
| "xml.validation.noGrammar": "ignore", | |
| "xml.format.maxLineWidth": 120, | |
| // Workbench Settings | |
| // General UI and workspace preferences for the VS Code workbench. | |
| "workbench.colorTheme": "Dark+", | |
| "workbench.editor.closeOnFileDelete": true, | |
| "workbench.editor.empty.hint": "hidden", | |
| "workbench.editor.highlightModifiedTabs": true, | |
| "workbench.editor.titleScrollbarSizing": "large", | |
| "workbench.startupEditor": "none", | |
| // Security Settings | |
| // Control trust and security-related behavior for the workspace and file handling. | |
| "security.workspace.trust.untrustedFiles": "open" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment