Intellij-elixir: Cannot Autocomplete Elixir Std Modules in WebStorm

Created on 27 Mar 2018  Â·  10Comments  Â·  Source: KronicDeth/intellij-elixir

I'm using WebStorm 2018.1, OS X 10.11, Intellij Elixir 7.4.0 and I can't get autocomplete for std modules to work. Modules inside the project work fine.

screen shot 2018-03-26 at 11 57 44 pm

SDK is set in WebStorm
screen shot 2018-03-27 at 12 12 57 am

screen shot 2018-03-26 at 11 58 20 pm

Permissions seem to be correct
screen shot 2018-03-26 at 11 59 33 pm

Any ideas on what else I can check?

Bug

Most helpful comment

Thanks @KronicDeth, so for now i will just use the IntelliJ IDE or Visual Studio (ElixirLS is really awesome btw - any chance to support that?)

All 10 comments

I have the same problem in Pycharm Community Edition 2018.1

I have the same problem in IntelliJ Ultimate. It seems it will work 'sometimes' but not others, seems kind of random. On linux.

This works slightly differently in IntelliJ vs the Small IDEs, so I'll address IntelliJ first.

@OvermindDL1 when it doesn't work, can you see the SDK ebin directories in External Libraries at the end of the Project Pane?

screen shot 2018-04-03 at 1 35 16 pm

When it doesn't work, does invalidating the cache and rebuilding the index help?

I have the same problem with Webstorm 2018.1 running on osx 10.11 … any ideas?

IntelliJ Community Edition is free. Can y'all try install it and seeing if it works in there? That way I know it's a WebStorm issue and not something with your SDK installs. These SDK issues are always difficult to isolate the root cause, so we'll need to try changing different components unless someone can pair on Zoom with me today (or any Friday).

@KronicDeth just downloaded the IntelliJ community edition and installed the plugin - it works there and im getting correct autocomplete information!

Im using erlang 20.3.6 and Elixir 1.6.5

Thanks @DominikGuzei. That means I'll treat this as a problem with how the SDKs are handled in Small IDEs vs the Rich IDEs. Not surprising, the Small IDE non-native language SDK is hand-rolled and a bit of a hack since non-native SDK management is a Rich IDE only feature normally, it's one of the things that makes IntelliJ different (and why it's so much more expensive).

Thanks @KronicDeth, so for now i will just use the IntelliJ IDE or Visual Studio (ElixirLS is really awesome btw - any chance to support that?)

@KronicDeth Hi! Is ElixirLS going to be supported in this plugin?

I've upgraded plugin to latest version and now autocomplete works fine for me in Pycharm Community Edition.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nhooyr picture nhooyr  Â·  3Comments

mjadczak picture mjadczak  Â·  6Comments

nhooyr picture nhooyr  Â·  7Comments

kandeshvari picture kandeshvari  Â·  5Comments

bengro picture bengro  Â·  3Comments