Information about the PlantUML Eclipse Plugin

The Eclipse Plugin is developed and maintained by Hallvard Trætteberg (many thanks for his work!).

Like the core library PlantUML itself, it is open source and the plugin is distributed under EPL license.

The source code is hosted on GitHub.

How to use it?

First, you have to display the PlantUML View (click the Window menu):

This view displays automatically the class you are working on:

If you write some comment in PlantUML language, the corresponding diagram is automatically displayed. And if you have several comments with diagrams, it selects the one the cursor is in.

In the Preferences Windows, you can also set up GraphViz path if needed:


  • 进入帮助/软件更新/查找和安装... 或帮助/安装新软件...
  • 创建(如果需要)或选择以下站点作为更新站点。*

  • 重新启动Eclipse

How to improve it?

The plugin is not limited to Java source file, it also works with Ecore/Xcore files.

So that you can see the corresponding class diagram in a view side-by-side the Ecore/Xcore editor :

If you want to support other file types, you can implement a new extension to do so. You can have a look at the current xcore implementation.

Privacy Policy      Advertise