Open ealione opened 5 years ago
@esmeraldaliaj as a workaround, I have added the ebin folder to the "classpath" for my elixir version: ~/.asdf/installs/elixir/VERSION/.mix/archives/hex-VERSION/hex-VERSION/ebin
Same goes for rebar. I'd say it is connected to https://github.com/KronicDeth/intellij-elixir/issues/1760
@esmeraldaliaj as a workaround, I have added the ebin folder to the "classpath" for my elixir version:
~/.asdf/installs/elixir/VERSION/.mix/archives/hex-VERSION/hex-VERSION/ebin
For those still running into this issue, this was the same fix that I ended up using as well.
To do so
I somehow created this issue in my project. I had it configured correctly and then at some point I wasn't thinking, I saw the "elixir framework detected" message, clicked on it, and clicked OK in the window that popped up.
The workaround explained above (adding the ebin path manually) worked for me.
This issue is incredibly annoying. Question: why can't Intellij simply run its processes using the system's shell, instead of apparently trying to replicate all the system's settings internally?
@esmeraldaliaj as a workaround, I have added the ebin folder to the "classpath" for my elixir version: ~/.asdf/installs/elixir/VERSION/.mix/archives/hex-VERSION/hex-VERSION/ebin
I'd like to try this out but when I click on the +
button the file selection modal that pops up doesn't allow me to select folders starting with .
. How do I work around that?
Showing hidden folders in a macOS Open Dialog is done using the shortcut Cmd+Shift+.
. Getting an input to just type in a path is Cmd+Shift+G
. These are both macOS specific things and not something specific to IntelliJ.
Thank you very much! I will keep these key combinations under my pillow 😄
When running
mix phx.server
on the terminal my application will execute as expected. Trying it from IntelliJ I get the following message,Shall I install Hex? (if running non-interactively, use "mix local.hex --force") [Yn]
the command that IntelliJ is trying to run is,
Both the elixir and erlang plugins are installed and configured, running on Manjaro.
Since I already have installed
hex
I do not want to install it again in a different location, how shouldintellij-elixir
be configured in order to locate it properly?