Skip to content

Instantly share code, notes, and snippets.

@h2m730131
Last active December 7, 2022 03:43
Show Gist options
  • Save h2m730131/886d623e398b451814217a9dd0d9e9b2 to your computer and use it in GitHub Desktop.
Save h2m730131/886d623e398b451814217a9dd0d9e9b2 to your computer and use it in GitHub Desktop.
Visual Studio Code + OmniSharp
// Windows: %USERPROFILE%\.omnisharp\omnisharp.json
{
"roslynExtensionsOptions": {
"inlayHintsOptions": {
"enableForParameters": true,
"forLiteralParameters": true,
"forIndexerParameters": true,
"forObjectCreationParameters": true,
"forOtherParameters": true,
"suppressForParametersThatDifferOnlyBySuffix": false,
"suppressForParametersThatMatchMethodIntent": false,
"suppressForParametersThatMatchArgumentName": false,
"enableForTypes": true,
"forImplicitVariableTypes": true,
"forLambdaParameterTypes": true,
"forImplicitObjectCreation": true
},
"EnableAnalyzersSupport": true,
"LocationPaths": [
"c:/Users/kevinhuang/.vscode/extensions/josefpihrt-vscode.roslynator-4.2.0/roslyn/common",
"c:/Users/kevinhuang/.vscode/extensions/josefpihrt-vscode.roslynator-4.2.0/roslyn/analyzers",
"c:/Users/kevinhuang/.vscode/extensions/josefpihrt-vscode.roslynator-4.2.0/roslyn/refactorings",
"c:/Users/kevinhuang/.vscode/extensions/josefpihrt-vscode.roslynator-4.2.0/roslyn/fixes"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment