IdeaPlugin icon indicating copy to clipboard operation
IdeaPlugin copied to clipboard

Line markers not visible with plugin 0.9.4 in IntelliJ 2024.3.5 build

Open abijitsuresh opened this issue 8 months ago • 4 comments

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.

abijitsuresh avatar May 13 '25 04:05 abijitsuresh

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 avatar May 16 '25 10:05 CodeDrivenMitch

@CodeDrivenMitch - I have responded to you via email. Thanks.

abijitsuresh avatar May 16 '25 17:05 abijitsuresh

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.

abijitsuresh avatar May 21 '25 23:05 abijitsuresh

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.

CodeDrivenMitch avatar May 26 '25 12:05 CodeDrivenMitch