// plugins
Roslyn Plugin
Adapter plugin that formats C# and Visual Basic code via Roslyn.
Install and Setup
In your project's directory with a dprint.json file, run:
dprint add roslyn
# or install from npm
dprint add npm:@dprint/roslyn
This will update your config file to have an entry for the plugin. Then optionally specify a "roslyn" property to add configuration:
{
"roslyn": {
// roslyn's config goes here
}
// etc...
}
Configuration
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.