jarmo
Writing Elixir/Phoenix while using IntelliJ IDEA
I’ve used Phoenix for multiple projects until now and they all are deployed to production and used by real users. At home I really like to use Vim, but at my workplace I’m using IntelliJ products. One of the main reasons why I can’t sell Elixir/Phoenix to my co-workers is that IntelliJ products do not seem to work well with Elixir. IntelliJ IDEA is almost nothing more than a glorified syntax highlighter. There exists (as far as I know) one not-too-actively maintained Elixir plugin for IDEA and that’s it. I’ve not seen debugger working even once and if there is one comma missing somewhere then IDEA code formatting breaks in a big fire.
Has anyone better experience while working with Elixir using IntelliJ products or is that a normal situation for this ecosystem and there’s no hope of pitching Elixir/Phoenix ever to my co-workers as long as they’re avid IntelliJ products users? Of course I would like to use debugger too occasionally, but since Elixir is quite an easy language in my opinion then there’s not that much of a need for it personally.
Any suggestions for working with Elixir using IntelliJ products is more than welcome of course.
Most Liked
D4no0
It seems you got something wrong, take a look at: GitHub - KronicDeth/intellij-elixir: Elixir plugin for JetBrain's IntelliJ Platform (including Rubymine) · GitHub. This plugin is way before elixir-ls was a thing and it has amazing support, and a better set of features compared to all other plugins on the market.
I was using it back in the day, however as you said, once you learn how elixir works, you don’t need these tools that much anymore.
Last Post!
D4no0
You can contact the author, I’ve had similar problems in the past and most of them are related to the fact that plugin still doesn’t have support for newest versions of elixir/erlang, I mean even people not using IDEs experience a lot of issues these days, as there is a lot of work on internals.
As for the debugger, it is inherently not the best idea to use it, the last time I was using it with phoenix, it would trigger timeouts when debugging, most probably because the debugger doesn’t pause the VM like the classical ones. I would just point your colleagues to REPL driven development, and they will forget about debugger in a week, as it is not that useful in elixir.
Popular in Discussions
Other popular topics
Chat & Discussions>Discussions
Latest on Elixir Forum
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex









