Wrapper around Roslyn in order to use it as a dprint plugin for C# and Visual Basic code formatting.
- Install dprint
- Follow instructions at https://github.com/dprint/dprint-plugin-roslyn/releases/
Specify a "roslyn" configuration property in dprint.json if desired:
C# configuration uses the CSharpFormattingOptions (use "csharp.<property name goes here>": <value goes here> in the configuration file).
It does not seem like roslyn supports any VB specific configuration.
{ // etc... "roslyn": { "csharp.indentBlock": false, "visualBasic.indentWidth": 2, }, }