Using Roslyn Workspaces for one-off automation (as opposed to analyzers) and as a stepping stone in learning Roslyn.

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
  • Buildalyzer

    A utility to perform design-time builds of .NET projects without having to think too hard about it.

    Agreed, Roslyn Workspaces can be helpful. I use them for some code-gen of TypeScript types based on my C# model. There's also Buildalyzer which can help simplify working with Workspaces.

  • Roslyn

    The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.

    We do support rewrapping arguments like you're trying to do as a Roslyn code action, so you could take a look at how we do it. The core bit (I think) that matches what you're doing is in, which is where we are doing whitespace editing between the tokens. Some of that is using internal helpers to Roslyn so you'll have to dig a bit to see fully how it works.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts