dgs-intellij-plugin icon indicating copy to clipboard operation
dgs-intellij-plugin copied to clipboard

Fetchers/loaders/types navigation not working on recent Idea/plugin versions

Open mr-nothing opened this issue 1 year ago • 7 comments

Hi there, It looks like plugin stopped working after development environment update. My current setup is:

  • Intellij IDEA Ultimate: Build #IU-233.14475.28, built on February 13, 2024
  • DGS Plugin: 1.3.4

Syntax and file highlighting is kinda working (though I'm not sure if dgs plugin do this). But all navigation to dgs components is broken and most declared types are shown as erroneous. May I please request a workaround for this or a support for new IDEA versions?

Thank you very much for your efforts!

mr-nothing avatar Feb 14 '24 12:02 mr-nothing

Hi - we are releasing an update soon. Will post an update when it's available.

srinivasankavitha avatar Feb 14 '24 14:02 srinivasankavitha

Hi @srinivasankavitha , unfortunately this is still the case, I'm getting no symbols on my schema files whatsoever and navigation to fetcher / loader props doesn't work anymore.

Any update on this? Could you maybe involve the community to produce a fix?

kjellski avatar Apr 04 '24 05:04 kjellski

It seems to be working fine even with the latest IntelliJ update today with plugin version 1.3.7. Could you try updating your IntelliJ and DGS plugin to latest of not already?

srinivasankavitha avatar Apr 04 '24 18:04 srinivasankavitha

Investigating this more, we do see some inconsistencies with data loaders with some projects and we are looking into this. In the meantime, it would great if you could also confirm using the latest release and updating your IntelliJ if this is still an issue.

srinivasankavitha avatar Apr 04 '24 22:04 srinivasankavitha

Actually, specifically to the data loaders, it just requires a name field in the @DgsDataLoader annotation. With that, all the DGS components are picked up and the navigation also works across multiple apps.

This is verified using DGS IntelliJ plugin 1.3.7 and latest IntelliJ version 2024.1

srinivasankavitha avatar Apr 04 '24 22:04 srinivasankavitha

Hi @srinivasankavitha - unfortunately I can only say, we've got name attributes on all our @DgsDataLoader annotations and it's still not working... one is named different then the actual field on one of them, could that cause the problem already?

kjellski avatar Apr 09 '24 07:04 kjellski

Hi @srinivasankavitha - unfortunately I can only say, we've got name attributes on all our @DgsDataLoader annotations and it's still not working... one is named different then the actual field on one of them, could that cause the problem already?

Perhaps, worth trying in any case. Unfortunately I am unable to reproduce the issue, so can't investigate further without a reproduction.

srinivasankavitha avatar Apr 09 '24 08:04 srinivasankavitha