This is a source project. Build it first, then install the generated plugin zip.
Because this project intentionally does not use Gradle toolchains, set Gradle JVM manually:
- IntelliJ:
File > Settings > Build, Execution, Deployment > Build Tools > Gradle - Set
Gradle JVMto a local JDK 17 or newer. The JetBrains Runtime / bundled JDK is fine. - Reload the Gradle project.
Run:
gradle buildPluginor in the Gradle tool window:
Tasks > intellij > buildPlugin
Install this generated file:
build/distributions/CodeStructureVisualizer-1.0.6.zip
In IntelliJ:
Settings > Plugins > gear icon > Install Plugin from Disk...
Do not install this source zip directly.
After installing the plugin, press Ctrl+Alt+Shift+B to turn the overlay on/off. You can also use Tools > Toggle Code Structure Overlay.
After installing the plugin, press Ctrl+Alt+Shift+N to toggle nested bracket-level colouring inside methods.
The main overlay shortcut remains Ctrl+Alt+Shift+B.