Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CSharp to PlantUMLNew to Visual Studio Code? Get it now.
CSharp to PlantUML

CSharp to PlantUML

pierre3

|
26,637 installs
| (3) | Free
Generator to create class-diagram of PlantUML from C# source code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

csharp-to-plantuml README

Create class diagrams of PlantUML from C# source code.

Requirements

  • .NET Core 8.0 Runtime

Extension Settings

  • csharp2plantuml.inputPath Specify a input folder (relative to workspace folder)
  • csharp2plantuml.outputPath Specify a output folder (relative to workspace folder)
  • csharp2plantuml.public Only public accessibility members are output.
  • csharp2plantuml.ignoreAccessibility Specify accessibiliies of members to ignore, with a comma separated list (ex. 'private,protected,protected internal').
  • csharp2plantuml.excludePath Specify exclude file or directory paths (relative to the "InputPath"), with a comma separated list (ex. 'obj,Properties\AssemblyInfo.cs'). To exclude multiple paths, which contain a specific folder name, preceed the name by "/". Example: "/bin".
  • csharp2plantuml.createAssociation Create object associations from references of fields and properites.
  • csharp2plantuml.allInOne Copy the output of all diagrams to file include.puml (this allows a PlanUMLServer to render it).
  • csharp2plantuml.attributeRequired When this switch is enabled, only types with "PlantUmlDiagramAttribute" in the type declaration will be output.
  • csharp2plantuml.excludeUmlBeginEndTags When this switch is enabled, it will exclude the "@startuml" and "@enduml" tags from the puml file.

Known Issues

Release Notes

1.4.0

  • Updated the target framework to .NET 8.0.
  • Fixed an issue where Nullable types were not being output with the createAssociation option.

1.3.4

  • Added support for the "struct" keyword in type definitions.
  • Added exclude path to consider "**/" syntax (filtering on all folder levels).
  • Fixed attributeRequired not working in Directory based Generation
  • Fixed missing 'abstract' keyword for record type

1.3.3

  • Fixed an issue where the IgnoreAttributes parameter did not work when using the default access modifier.

1.3.2

  • Add a switch to exclude "@startuml" and "@enduml" tags from the puml file.
  • Fixed to add "- "(private) as default modifier when access modifier is omitted.

1.3.1

  • Fix an issue in which escape characters set in attribute parameters were not handled correctly
    https://github.com/pierre3/PlantUmlClassDiagramGenerator/issues/62

1.3.0

  • Add attribute-based configuration

1.2.5

  • Update to .NET6.0
  • Supports a record declaration
  • Fix excludePaths from skipping incorrectly
    https://github.com/pierre3/PlantUmlClassDiagramGenerator/pull/54

1.2.4

  • Updated to .NET5.0

1.2.3

  • Fixed Issue:
    • https://github.com/pierre3/PlantUmlClassDiagramGenerator/issues/34

1.2.2

  • Updated to .Net Core 3.1.
  • Fixed Issue:
    • https://github.com/pierre3/PlantUmlClassDiagramGenerator/issues/32
    • https://github.com/pierre3/PlantUmlClassDiagramGenerator/issues/26

1.2.1

  • Updated to .Net Core 3.0.
  • Add Feature that allows for Nullable (?) type syntax.
  • Add all-in-one option.

1.0.0

Add Feature that create object associations from references of fields and properties.

0.0.1 preview

Beta release.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft