Line markers not visible with plugin 0.9.4 in IntelliJ 2024.3.5 build
Basic information
- JDK version: 17.0.11
- Complete executable reproducer if available (e.g. GitHub Repo): N/A
Steps to reproduce
- Install plugin version 0.9.4 in IntelliJ 2024.3.5
- Open file with Command or Event initialization statement
- No line marker is available in the left gutter icon in the IDE
Expected behaviour
Line marker to be available by Command/Event initialization line and clicking on it allow for navigation to CommandHandler/EventHandler.
Actual behaviour
Line marker is not available/visible by Command/Event initialization line and so there is no way to easily navigate to CommandHandler/EventHandler. Query -> QueryHandler navigation is working as expected.
Hello @abijitsuresh, thanks for reporting the issue. The plugin is testen with the latest 2024.x.x versions, and with the 2025.x version. I also just did a manual test, and the line markers show correctly.
Could you provide me more details? What is your Axon Framework version? Could you share your idea.log with me? If you feel it contains non-public information, feel free to send it to [email protected]
@CodeDrivenMitch - I have responded to you via email. Thanks.
Hi @CodeDrivenMitch. I noticed that if I have the command/event/query classes local in my main application project the line markers are visible and able to use for navigating between command/event/query initialization to the handlers and back. But if I have them in a separate library project and use them in my main application, the line markers are not showing up. Hope this helps with checking if there is issue with the plugin. Thanks.
Hello @abijitsuresh . You are completely correct, that's the cause. We don't scan outside of project files for performance reasons at this point in time. I do recognize this is very annoying. I will take a look on how to resolve this without causing a big performance problem.