How to setup Elixir on Sublime Text 3
Clash Royale CLAN TAG#URR8PPP
How to setup Elixir on Sublime Text 3
Hi I'm brand new to Elixir, haven't even ran a code yet. But I've downloaded it, downloaded the appropriate packages on sublime, restarted sublime and it doesn't work. And when I save a .ex file it doesn't get a logo, opposed to a .py file that gets the python logo. So I don't know if Sublime can't find the Elixir program, should it be added to my path? I don't know what to do here, and would love some help as I'm sitting in the dark, and can't find much support since Elixir isn't as widely used. And I'm really depending on this for a job opportunity. I appreciate any and all help!
@Downgoat it actually says Elixir! So do Elixir files just not get a icon with the logo? And if so why doesn't the touch function work? I guess these are questions for other threads. Sorry about that, I assumed because of these two things that it meant sublime wasn't loading it.
– wowwee
Aug 9 at 18:16
oh! ok in that case for the elixir icon you probably are going to need an icon package which has elixir icons. This is the one I use which works great: packagecontrol.io/packages/A%20File%20Icon
– Downgoat
Aug 9 at 18:18
Stack exchange does not have DMs but if you continue needing help with this question you can ping me as you are doing, or you can open a new question
– Downgoat
Aug 9 at 19:08
While totally not an answer to your question, I can only say that the visual studio code integration of Elixir is exceptional. I highly recommend switching.
– Christophe De Troyer
Aug 10 at 11:40
1 Answer
1
I've installed following plugins in Sublime: Elixir
, Elixir Sublime
and ElixirSyntax
.
File should be saved as .exs
in order to be recognized by Sublime.
In case autocomple plugin does not work for you be sure that in Preferences/Settings the key "auto_complete" is set to true
Elixir
Elixir Sublime
ElixirSyntax
.exs
true
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
At the bottom right you'll see some text that specifies what language sublime text is treating the current file as. It'll probably say "plain text", if you click that do you see Elixir?
– Downgoat
Aug 9 at 18:14