Installation
Requirements
- IntelliJ IDEA 2026.2 or later. The plugin does not work in other JetBrains IDEs: it needs the Java support and the charts module of IntelliJ IDEA.
- The Kotlin plugin, only to measure Kotlin. It comes bundled and enabled with IntelliJ IDEA. If you disable it, Stau Metro keeps working and measures Java alone. Both Kotlin modes of the IDE, K1 and K2, are supported.
Which build to install
Each version of Stau Metro comes in two builds, one per line of the IDE. The number at the end of the file name says which:
| Your IDE | Build | File |
|---|---|---|
| IntelliJ IDEA 2026.2.x | 262 | stau-metro-0.1.0-262.zip |
| IntelliJ IDEA 2026.3 and later | 263 | stau-metro-0.1.0-263.zip |
The two builds do the same. They differ only in how they reach the charts module of the IDE, which changed place between 2026.2 and 2026.3. The IDE refuses a build that is not for its line.
Install from the ZIP file
- Open Settings | Plugins.
- Click the gear icon and choose Install Plugin from Disk...
- Select the ZIP file as you downloaded it, without unpacking it.
- Accept, and restart the IDE if it asks you to.
Check that it works
- The Code menu has a new entry, Calculate Metrics..., next to the code inspection entries.
- Settings | Tools has a new page, Stau Metro.
The Stau Metro tool window is not there yet. It appears with the first results and goes away when you close the last ones.
Update
Install the ZIP of the new version in the same way. Your profiles, your thresholds and the layout of your tables are kept: they are not stored inside the plugin (“Settings” says where).
Remove
Open Settings | Plugins, find Stau Metro in the installed plugins and uninstall it. The profiles you created
stay in the configuration directory of the IDE, in the stau-metro-profiles folder, in case you install the plugin
again. Delete that folder if you do not want them.