KronicDeth / intellij-elixir

Elixir plugin for JetBrain's IntelliJ Platform (including Rubymine)
Other
1.83k stars 153 forks source link

Cannot Autocomplete Elixir Std Modules in WebStorm #1064

Closed Darkneon closed 5 years ago

Darkneon commented 6 years ago

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?

adrian-catana commented 6 years ago

I have the same problem in Pycharm Community Edition 2018.1

OvermindDL1 commented 6 years ago

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

KronicDeth commented 6 years ago

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?

DominikGuzei commented 6 years ago

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

KronicDeth commented 6 years ago

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).

DominikGuzei commented 6 years ago

@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

KronicDeth commented 6 years ago

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).

DominikGuzei commented 6 years ago

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?)

Artur-Sulej commented 6 years ago

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

adrian-catana commented 5 years ago

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