Gedit PlantUML plugin


What is it?

PlantUML is a Java application which enables you to ‘draw’ UML diagrams using a scripting language called DOT. A PlantUML script can be made in any text editor and there are plenty text editors and IDEs that support the generation of PlantUML diagrams. This was however not the case for Gedit, the text editor I like to work with. For that reason I developed a PlantUML plugin for it.

Downloads

Gedit 3.12 en newer:
gedit3-plugin-plantuml-1.2.0

Gedit 3 (until 3.12):
gedit3-plugin-plantuml-1.1.0

Gedit 2.x:
gedit2-plugin-plantuml-2.0.0-devel-1

Source code
svn://ruudbeukema.nl/public/gedit-plugin-plantuml

Source code of current development-branch:

svn://ruudbeukema.nl/public/gedit-plugin-plantuml/branches/devel-gedit2

The source code is available under the MPLv2 license.

Installation

The plugin is not shipped with Gedit by default and must be installed manually. The plugin uses PlantUML and ships this Java application. In order to be able to use PlantUML Java is required. Apart from that, PlantUML also requires Graphviz to be installed. It uses it for generate its diagrams. Linux Unpack the zip archive and copy the contents of the folder

/src

to your home folder: (for gedit-2):

/home/username/.gnome2/gedit/plugins

(for gedit-3):

/home/username/.local/share/gedit/plugins

or, in order to use it system-wide, to the folder: (for gedit-2):

/usr/share/gedit-2/plugins

(for gedit-3):

/usr/share/gedit/plugins

Windows Gedit is primarily developed for Linux and as such there aren’t too many Windows-installers available for it. I managed to verify that gedit3-plugin-plantuml-1.2.0 works on Windows using a test version of the Gedit 3.18.2 Windows-installer.