Skip to content

Instantly share code, notes, and snippets.

@jeangatto
Last active May 12, 2025 13:21
Show Gist options
  • Save jeangatto/3cf79a28ab989a07ac22c9d35ece8789 to your computer and use it in GitHub Desktop.
Save jeangatto/3cf79a28ab989a07ac22c9d35ece8789 to your computer and use it in GitHub Desktop.
VS Code Settings (for C#)
{
"[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"
},
// Telemetry Settings
"redhat.telemetry.enabled": false,
"telemetry.telemetryLevel": "off",
// Experimental Settings
"editor.experimentalEditContextEnabled": true,
// .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": false,
"dotnet.preferCSharpExtension": false,
"dotnet.preview.enableSupportForSlnx": true,
"dotnet.projects.enableAutomaticRestore": 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#
// 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,
// 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,
// Debug Settings
"debug.confirmOnExit": "never",
"debug.console.fontFamily": "JetBrainsMono NFM",
"debug.console.fontSize": 16,
"debug.onTaskErrors": "abort",
"debug.terminal.clearBeforeReusing": true,
// Docker
// https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker
"docker.contexts.showInStatusBar": true,
"docker.dockerComposeBuild": true,
"docker.images.checkForOutdatedImages": 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.enableNewQueryResultFeature": 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.logDebugInfo": false,
"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,
// 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+"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment