LoginSignup
3
0

More than 3 years have passed since last update.

PlantUMLで画像エクスポートができない時の対処法(VSCode)

Posted at

状況

VSCodeでPlantUMLを記載して、画像出力したらエラー…どうもフォントが原因らしいです。

対策

フォントをインストールするのが根本解決な気がしますが、情報が少ないので取り急ぎ、ネット上のレンダリングサーバを使います。

  1. 「設定」 をクリック
  2. フィルタで「PlantUML」と入力
  3. Plantuml Render: を「ローカル」から「PlantUMLServer」 を選択
  4. Plantuml Server: で「https://www.plantuml.com/plantuml」と入力

PlantUML 設定

結果

無事に出力

スクリーンショット 2020-10-18 14.26.53.png

レポート表示に出力先パスが表示されています。

2.538 秒で 1 個のダイアグラム, 1 個のファイルをエクスポートしました
/Users/$(whoami)/workspace/activity/アクティビティ図.png
3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0