zediogoviana

zediogoviana

Sublime SuperElixir Package Problems

I installed SuperElixir Package on Sublime Text 3 and followed the instructions (installed SublimeLinter
and Elixir also) in order to lint my Elixir projects.

However, I think Sublime can’t find the linter. I only get the message <file>: No lint results.
As for the Elixir package for syntax highlight and formatting, I added "mix_format_on_save": true to the settings, but it isn’t working. Only through the super+shift+c keybinding.

Has anyone had these problems also?
Thanks in advance!

Most Liked

NobbZ

NobbZ

I skimmed the packages source code.

  • It ships with a very old version of elixir_sense, it might simply not work with current elixir versions.
  • “Linting” seems to only inlcude compiler warnings. Try to_charlist vs. to_char_list, the latter should trigger a compiler warning.
  • I can not say anything about the format on save thing. I found that that the setting is mentioned in the “Elixir” plugin, though I can’t say much beyond that.

Instead of the very old “SuperElixir”, have you considered using LSP + elixir-ls (config example). You should probably use a tagged version of the elixir-ls, master likes to break every now and then :smiley:

zediogoviana

zediogoviana

Thank you! I tried LSP + elixir-ls and it works great! Even on save format started working properly, don’t really understand why.

I got one last question due to elixir-ls dialyzer integration. Since there isn’t an official plugin for Sublime, how do I enable/disable dialyzer here? Setting elixirLS.dialyzerEnabled to false in LSP client settings doesn’t work.

Cheers!

Where Next?

Popular in Questions Top

pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 record...
New
Jim
As a follow up to my earlier question: I have the code compiling and running but not getting a successful login from the rest server. ...
New
polypush135
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New

Other popular topics Top

dotdotdotPaul
Okay, I'm having a heck of a time trying to figure out how to best handle the validation of belongs_to associations in Ecto. I'm sure I'...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 35421 110
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list....
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 42633 214
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New

We're in Beta

About us Mission Statement