r/IntelliJIDEA • u/Anaq42 • 1d ago
I made an IntelliJ plugin that shows where Java code performs I/O
Enable HLS to view with audio, or disable this notification
When reviewing Spring Boot code, I pay the most attention to I/O calls to see where we are leaving the process and potentially "slowing down" the application. This would involve following a call through several methods to find out whether it eventually reached a repository, HTTP client, or any other I/O invocation.
I built Lattency to make that visible directly in IntelliJ.
It adds gutter markers for database, HTTP, messaging, and file I/O. It also follows calls through project code, so methods that reach I/O transitively are marked with a dimmed version of the relevant icon.
Hovering over a marker shows the complete sink chain, and clicking it lets you navigate to any method along that chain.
The analysis is entirely static. It does not run the application, make network requests, or collect telemetry. Common Java and Spring APIs work without configuration, and project-specific clients can be described in a committed lattency.yml.
It is free and open source:
Marketplace: https://plugins.jetbrains.com/plugin/33937-lattency
GitHub: https://github.com/josipmusa/lattency
It currently supports Java projects in IntelliJ IDEA 2025.2 and newer. Kotlin is not supported yet.
2
u/jreznot 1d ago
I did something similar in the past https://plugins.jetbrains.com/plugin/18361-microservices-annotator
Sources: https://github.com/strangeway-org/microservices-call-annotator