Open jonsmithers opened 1 month ago
Thanks @jonsmithers for raising this enhancement request, sounds indeed like a great feature to add. Let's see how we can get this realized.
Do you use the Spring Tools in Eclipse or VSCode?
Using vscode here! And awesome, thank you!
Expected Behavior
Anytime you trigger or listen for a spring event, IntelliJ presents these gutter icons. When clicked, a popup will list every place that triggers the event you're listening for OR every place that listens for the event that you're triggering, allowing you to easily jump to these locations. I like this feature.
Current Behavior
Currently there is nothing to aid navigation between event listeners and triggerers.
Context
This feature is pretty handy in a codebase that relies on Spring Events.
As an alternative, I could consider refactoring the code to not use Spring Events. Spring Events are harder to navigate compared to plain old function invocations, unless the IDE provides this navigational aid.