Skip to content

Instantly share code, notes, and snippets.

@jeangatto
Last active October 29, 2026 12:12
Show Gist options
  • Select an option

  • Save jeangatto/3cf79a28ab989a07ac22c9d35ece8789 to your computer and use it in GitHub Desktop.

Select an option

Save jeangatto/3cf79a28ab989a07ac22c9d35ece8789 to your computer and use it in GitHub Desktop.
VS Code Settings (for C# and Copilot AI)
{
// Chat
"chat.agent.collapseCompletedResponses": true,
"chat.checkpoints.showFileChanges": true,
"chat.editing.explainChanges.enabled": true,
"chat.editor.fontFamily": "JetBrains Mono NL",
"chat.experimental.useSkillAdherencePrompt": true,
"chat.fontFamily": "JetBrains Mono NL",
"chat.includeReferencedInstructions": true,
"chat.mcp.assisted.nuget.enabled": true,
"chat.mcp.gallery.enabled": true,
"chat.tools.compressOutput.enabled": true,
"chat.tools.confirmationCarousel.enabled": true,
"chat.tools.riskAssessment.enabled": true,
"chat.tools.terminal.autoApprove": {
"dotnet restore": true,
"dotnet build": true,
"dotnet test": true
},
"chat.viewSessions.orientation": "stacked",
"chat.tools.urls.autoApprove": {
"https://code.visualstudio.com": true,
"https://github.com/microsoft/vscode/wiki/*": true,
"https://github.com": {
"approveRequest": false,
"approveResponse": true
}
},
"chat.unifiedAgentsBar.enabled": true,
"chat.viewProgressBadge.enabled": true,
// C#
"csharp.debug.logging.moduleLoad": false,
"csharp.experimental.debug.hotReload": false,
"csharp.format.enable": true,
"csharp.semanticHighlighting.enabled": true,
// Debug
"debug.confirmOnExit": "never",
"debug.console.fontFamily": "JetBrains Mono NL",
"debug.onTaskErrors": "abort",
"debug.showVariableTypes": true,
"debug.terminal.clearBeforeReusing": true,
// Diff Editor
"diffEditor.experimental.showMoves": true,
"diffEditor.experimental.useTrueInlineView": true,
// .NET
"dotnet.autoInsert.enableAutoInsert": true,
"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.copilot.enableDotnetSkills": true,
"dotnet.enablePublishIssuesToProblems": true,
"dotnet.enableXamlTools": true,
"dotnet.fileBasedApps.enableAutomaticDiscovery": true,
"dotnet.formatting.organizeImportsOnFormat": true,
"dotnet.highlighting.highlightRelatedJsonComponents": true,
"dotnet.highlighting.highlightRelatedRegexComponents": true,
"dotnet.projectsystem.cacheInProjectFolder": true,
"dotnet.projectsystem.enableLanguageServiceCache": true,
"dotnet.projectsystem.useNewMemoryOptimization": true,
"dotnet.testWindow.enableNextTest": true,
"dotnet.testWindow.enableTestExplorerDiff": true,
"dotnet.typeMembers.memberInsertionLocation": "atTheEnd",
"dotnet.typeMembers.propertyGenerationBehavior": "preferAutoProperties",
"dotnetAcquisitionExtension.enablePreviewFeatures": true,
"dotnetAcquisitionExtension.enableTelemetry": false,
"dotnetAcquisitionExtension.highVerbosity": true,
// Editor
"editor.autoIndentOnPaste": true,
"editor.bracketPairColorization.independentColorPoolPerBracketType": true,
"editor.codeActionsOnSave": {
"source.formatDocument": "always",
"source.organizeImports": "always"
},
"editor.codeLensFontFamily": "JetBrains Mono NL",
"editor.fontFamily": "JetBrains Mono NL",
"editor.fontLigatures": true,
"editor.fontSize": 15,
"editor.fontVariations": false,
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.inlayHints.fontFamily": "JetBrains Mono NL",
"editor.inlineSuggest.fontFamily": "JetBrains Mono NL",
"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.trimWhitespaceOnDelete": true,
// Explorer
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"explorer.fileNesting.enabled": true,
// Extensions
"extensions.autoCheckUpdates": true,
"extensions.autoUpdate": "on",
"extensions.ignoreRecommendations": true,
// Files
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
// Git
"git.addAICoAuthor": "off",
"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.fetchOnPull": true,
"git.mergeEditor": true,
"git.pruneOnFetch": true,
"github-actions.workflows.pinned.refresh.enabled": true,
// GitHub Copilot Chat
"github.copilot.chat.agent.autoFix": true,
"github.copilot.chat.alternateGeminiModelFPrompt.enabled": true,
"github.copilot.chat.alternateGptPrompt.enabled": true,
"github.copilot.chat.anthropic.tools.websearch.enabled": true,
"github.copilot.chat.codesearch.enabled": 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": "For additional details, use a well-structured body section."
},
{
"text": "Use bullet points (*) for clarity."
}
],
"github.copilot.chat.languageContext.fix.typescript.enabled": true,
"github.copilot.chat.languageContext.inline.typescript.enabled": true,
"github.copilot.chat.languageContext.typescript.includeDocumentation": true,
"github.copilot.chat.localIndex.enabled": 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.switchAgent.enabled": true,
"github.copilot.completions.chat.enabled": true,
"github.copilot.enable": {
"*": true,
"plaintext": true,
"markdown": true,
"scminput": true,
"csharp": true,
"jsonc": true,
"xml": true,
"dockercompose": true,
"json": true,
"ignore": true,
"dockerfile": true,
"powershell": true
},
// GitHub Copilot Next Edit Suggestions
// The "eagerness" setting controls how aggressively Copilot suggests edits.
// Options are "low", "medium", and "high".
// "high" means Copilot will suggest edits more frequently, while "low" means it will suggest edits less frequently.
"github.copilot.nextEditSuggestions.eagerness": "high",
// Markdown
"markdown.occurrencesHighlight.enabled": true,
"markdown.updateLinksOnFileMove.enabled": "always",
"markdown.validate.enabled": true,
// Notebooks
"notebook.diff.experimental.toggleInline": true,
"notebook.formatOnSave.enabled": true,
"notebook.lineNumbers": "on",
"notebook.stickyScroll.enabled": true,
// Omnisharp (.NET)
"omnisharp.enableAsyncCompletion": true,
"omnisharp.enableDecompilationSupport": true,
"omnisharp.enableLspDriver": true,
// Problems
"problems.showCurrentInStatus": true,
// Razor (.NET)
"razor.advanced.showAllCSharpCodeActions": true,
"razor.completion.commitElementsWithSpace": true,
"razor.format.codeBlockBraceOnNextLine": true,
"redhat.telemetry.enabled": false,
// SCM (Source Control Management)
"scm.alwaysShowActions": true,
"scm.diffDecorationsGutterPattern": {
"added": true,
"modified": true
},
"scm.repositories.explorer": true,
// Search
"search.searchView.keywordSuggestions": true,
"search.showLineNumbers": true,
// Telemetry
"telemetry.editStats.enabled": false,
"telemetry.feedback.enabled": false,
"telemetry.telemetryLevel": "off",
// Terminal
"terminal.integrated.confirmOnKill": "never",
"terminal.integrated.copyOnSelection": true,
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.enableImages": true,
"terminal.integrated.enableVisualBell": true,
"terminal.integrated.fontLigatures.enabled": true,
"terminal.integrated.fontSize": 15,
"terminal.integrated.initialHint": false,
"terminal.integrated.stickyScroll.enabled": false,
"terminal.integrated.suggest.providers": {
"lsp": true
},
"terminal.integrated.suggest.suggestOnTriggerCharacters": true,
// Testing
"testing.coverageToolbarEnabled": true,
"testing.followRunningTest": true,
// Workbench
"workbench.commandPalette.experimental.suggestCommands": true,
"workbench.editor.alwaysShowEditorActions": true,
"workbench.editor.empty.hint": "hidden",
"workbench.editor.enablePreviewFromCodeNavigation": true,
"workbench.editor.enablePreviewFromQuickOpen": true,
"workbench.editor.highlightModifiedTabs": true,
"workbench.startupEditor": "none",
// XML/YAML
"xml.format.maxLineWidth": 120,
"xml.validation.noGrammar": "ignore",
"yaml.format.printWidth": 120
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment