「VisualStudioCode/PlantUML」の版間の差分
提供: 初心者エンジニアの簡易メモ
(ページの作成:「==PlantUMLのプラグイン== https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml 参考:https://gist.github.com/yoggy/bd68b3f1f55dbd742bea71424ca66564」) |
(→PlantUMLのプラグイン) |
||
(同じ利用者による、間の1版が非表示) | |||
行1: | 行1: | ||
==PlantUMLのプラグイン== | ==PlantUMLのプラグイン== | ||
− | https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml | + | *DL(https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml) |
+ | *Installボタンを押す | ||
+ | *codeエディタでクラス図を記述 | ||
+ | *code上プレビューするoption+d | ||
+ | |||
+ | クラス図 | ||
+ | <pre> | ||
+ | @startuml | ||
+ | class Enemy { | ||
+ | + string type | ||
+ | ~ string name | ||
+ | # void SayHello() | ||
+ | - void Attack() | ||
+ | } | ||
+ | @enduml | ||
+ | </pre> | ||
参考:https://gist.github.com/yoggy/bd68b3f1f55dbd742bea71424ca66564 | 参考:https://gist.github.com/yoggy/bd68b3f1f55dbd742bea71424ca66564 |
2022年1月14日 (金) 16:00時点における版
PlantUMLのプラグイン
- DL(https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml)
- Installボタンを押す
- codeエディタでクラス図を記述
- code上プレビューするoption+d
クラス図
@startuml class Enemy { + string type ~ string name # void SayHello() - void Attack() } @enduml
参考:https://gist.github.com/yoggy/bd68b3f1f55dbd742bea71424ca66564