Visitar URL original
Roslyn Plugin (C#/VB) - dprint - Code Formatter
// plugins

Roslyn

C# and Visual Basic code formatter (Roslyn).

Wrapper plugin that formats C# and Visual Basic code via Roslyn.

Formats .cs and .vb files.

Install and Setup

In your project's directory with a dprint.json file, run:

dprint add 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
  },
  "plugins": [
    "npm:@dprint/roslyn@0.24.1"
  ]
}

All plugins

Official Plugins

Community Plugins

Wrapper Plugins

Everything Else