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!

Last Post!

zediogoviana

zediogoviana

Sorry, still doesn’t work. I’ll keep it as it is, and if I find a solution I’ll post it here!

Thanks for the tips!
Cheers.

Where Next?

Popular in Questions Top

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
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New

Other popular topics Top

KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 36689 110
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 records...
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
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 44167 214
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New
AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New

We're in Beta

About us Mission Statement