Intellij-elixir: Can't ctrl click on modules in IntelliJ 2020.2

Created on 14 Jul 2020  路  7Comments  路  Source: KronicDeth/intellij-elixir

Describe the bug
In IntelliJ 2020.2 BETA, you can't ctrl click on modules.

To Reproduce
Steps to reproduce the behavior:

  1. Install IntelliJ 2020.2 BETA
  2. In a module, ctrl+click on another module
  3. It doesn't work

Expected behavior
It goes to a module.

Logs
None?

Desktop:

  • OS: [e.g. macOS]
  • Version [e.g. 10.14.3]

Erlang:

  • Installer: asdf
  • Version: 23

Elixir:

  • Installer: asdf 1.10.3

Plugin:

  • Version 11.7.0
Bug asdf

Most helpful comment

I realized that if i hover a part of the module name (e.g. "Adapters" in Ecto.Adapters.Postgres) it will fail to navigate, but if i hover a period it will mark the whole thing and navigate correctly.

All 7 comments

I realized that if i hover a part of the module name (e.g. "Adapters" in Ecto.Adapters.Postgres) it will fail to navigate, but if i hover a period it will mark the whole thing and navigate correctly.

Same in IntelliJ IDEA 2020.2 (Ultimate Edition).

Hey @KronicDeth , do you know if this is an issue on IntelliJ's side, or the plugins side? I can raise an issue with IntelliJ or something, maybe?

edit: quite a few changes here - https://jetbrains.org/intellij/sdk/docs/reference_guide/api_changes/api_changes_list_2020.html#section-1

Having a quick look at the code there is some breakage, will look into it. :-)

I'm putting a $200USD bounty on getting this fixed.

I'll be donating about that amount, too, as I have the past couple years. And I'd love to see this improved!
Go to definition is such a productivity boost, it should work for all things and everywhere.

Same in plugin version 11.9.0.

The references resolve for Aliases fine when I debug, so it is some change in the Target system. When I first got Find Usage/Go To Declaration working, I had to do some hacks to stop usages as being declaration, but it could be that those hacks are now broken due to upstream fixes.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KronicDeth picture KronicDeth  路  3Comments

mbriggs picture mbriggs  路  5Comments

ryancammer picture ryancammer  路  5Comments

bengro picture bengro  路  3Comments

tungnt244 picture tungnt244  路  6Comments