环境配置:
- TraeCN:0.5.8
- PlantUML:2.18.1(TraeCN内市场直接安装)
- CSharp to PlantUML:1.3.4https://marketplace.visualstudio.com/_apis/public/gallery/publishers/pierre3/vsextensions/csharp-to-plantuml/1.3.4/vspackage
https://marketplace.visualstudio.com/_apis/public/gallery/publishers/pierre3/vsextensions/csharp-to-plantuml/1.3.4/vspackage - Graphviz:12.2.1https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/12.2.1/windows_10_cmake_Release_graphviz-install-12.2.1-win64.exe
https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/12.2.1/windows_10_cmake_Release_graphviz-install-12.2.1-win64.exe - .Net Core 6.0 Runtime:6.0.36https://builds.dotnet.microsoft.com/dotnet/WindowsDesktop/6.0.36/windowsdesktop-runtime-6.0.36-win-x64.exe
https://builds.dotnet.microsoft.com/dotnet/WindowsDesktop/6.0.36/windowsdesktop-runtime-6.0.36-win-x64.exe
使用方法
- dotnet tool install --global PlantUmlClassDiagramGenerator --version 1.2.4
- puml-gen <代码所在目录> <UML文件生成目录> -dir
- 打开puml文件并快捷键alt+d预览
效果


2073

被折叠的 条评论
为什么被折叠?



