Skip to content

Elixir projects in RubyMine don't use Elixir/Erlang SDK libraries #1913

Open
@mirrec

Description

@mirrec

Describe the bug

  • IDE does not use Elixir/Erlang SDK from settings at all. What I mean by that:
    • I cannot see it in project structure,
    • CMD+click / "go to Declaration or Usage" does not work
    • autocomplete does not work
    • All of mentioned above work fine with local modules or dependencies.
  • Surprisingly, I am able to compile and run tests from IDE.
  • I have a feeling that this problem was introduced when I updated RubyMine to the last version, but I can't tell for sure.
  • I have this issue in all of my existing / newly created elixir project.

To Reproduce

  1. Download and install my very basic elixir project repo https://github.com/mirrec/sdk-problem-intellij-elixir
  2. (Maybe you need a RubyMine)

Expected behavior
I expect IDE to load and work with Elixir/Erlang SDK from settings.

Screenshots

  1. project tree does not contain any path to elixir/erlang sdk

1_project_tree

  1. preferences looks good to me

2_preferences

3_preferences

4_preferences

  1. autocomplete does not work for elixir/erlang sdk

5_autocomplete

6_autocomplete

7_autocomplete_dependency

  1. tests in IDE work fine

8_tests_in_IDE

Desktop:

  • OS: macOS
  • Version 10.15.7

Erlang:

  • Installer: homebrew
  • Version: Erlang/OTP 23 [erts-11.1.4] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe] [dtrace]

Elixir:

  • Installer: homebrew
  • Version: 1.11.2 (compiled with Erlang/OTP 23)

Plugin:

  • Version: 11.10.0

Additional context:

  • RubyMine 2020.3.2
  • Build #RM-203.7148.67, built on January 26, 2021
  • Runtime version: 11.0.9.1+11-b1145.77 x86_64
  • VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
  • macOS 10.15.7
  • GC: ParNew, ConcurrentMarkSweep
  • Memory: 1981M
  • Cores: 8
  • Non-Bundled Plugins: org.elixir_lang, NodeJS

If you need any other information please let me know.
Btw I really appreciate you work, I have made a little donation.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions