MCPcopy Create free account
hub / github.com/esteinberg/plantuml4idea

github.com/esteinberg/plantuml4idea @v7.12.1-IJ2023.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v7.12.1-IJ2023.2 ↗ · + Follow
1,458 symbols 3,872 edges 193 files 80 documented · 5% updated 3mo ago4.1.0 · 2021-01-31★ 67564 open issues

Browse by type

Functions 1,230 Types & classes 228
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

PlantUML plugin for IntelliJ platform

JetBrains plugins JetBrains plugins

This plugin provides integration with popular PlantUML diagramming tool


Author: Eugene Steinberg

Contributors:

Features

  • PlantUML tool window renders PlantUML source code under caret in currently selected editor
  • Structure view, code navigation between declaration and usages, renaming
  • Supports multiple sources per file
  • Supports pagination and zoom
  • Can copy diagram to clipboard or export as PNG, EPS or SVG, ASCII Art
  • Caching and incremental rendering

Tips

  • PlantUML code must be inside @startuml and @enduml tags to be rendered.
  • To be able to generate many diagram types, you must have Graphviz installed on your machine (not needed for Windows, it is bundled in the PlantUML jar).

AsciiMath installation

  1. Download PlantUML jar - https://plantuml.com/download
  2. Download JLatexMath libs - https://jar-download.com/artifacts/org.scilab.forge/jlatexmath - use Download jlatexmath.jar (xxx) button, unzip jar_files.zip
  3. Go to setting in IntelliJ for PlantUML
  4. Set PlantUML JAR to the folder containing jars you downloaded

Developer notes

  • debug logs can be enabled by adding '#org.plantuml' and 'org.plantuml' to [Help | Debug Log Settings]
  • use Jetbrains JDK if normal JDK produces UI bugs

There are following branches:

master

  • Current production branch

grammar

  • old experimental syntax support - never finished
  • Grammar classes can be generated using tools/grammar-gen.sh
  • This script can run automatically when you run the plugin using "Plugin" Run/Debug configuration. Just add the script above as an external tool and make it run before the "Make" step.

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 1,216
Class 210
Function 14
Enum 9
Interface 9

Languages

Java96%
Kotlin4%

Modules by API surface

src/main/java/org/plantuml/idea/settings/PlantUmlSettings.java95 symbols
src/main/java/org/plantuml/idea/preview/image/svg/MyImageEditorUI.java55 symbols
src/main/java/org/plantuml/idea/preview/image/svg/batik/MySvgTranscoder.kt43 symbols
src/main/java/org/plantuml/idea/preview/PlantUmlPreviewPanel.java43 symbols
src/main/java/org/plantuml/idea/preview/editor/SplitFileEditor.java40 symbols
src/main/java/org/plantuml/idea/preview/image/svg/MyImageEditorImpl.java35 symbols
src/main/java/org/plantuml/idea/rendering/ImageItem.java33 symbols
src/main/java/org/plantuml/idea/rendering/RenderCacheItem.java30 symbols
src/main/java/org/plantuml/idea/preview/editor/PlantUmlPreviewEditor.java22 symbols
src/main/java/org/plantuml/idea/rendering/RenderResult.java21 symbols
gen/org/plantuml/idea/grammar/PumlLexer.java21 symbols
src/main/java/org/plantuml/idea/rendering/RenderRequest.java20 symbols

For agents

$ claude mcp add plantuml4idea \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page