zediogoviana

zediogoviana

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!

Showing Posts 1 to 4

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 OP

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!

NobbZ

NobbZ

I can’t tell for sure, but I assume, you need to set it in initializationOptions.

{
  "elixir-ls": {
    "initializationOptions": {
      "elixirLS": {
        "dialyzerEnabled": false
      }
    },
    // existing settings
  }
}
zediogoviana

zediogoviana OP

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.

— All posts loaded —

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
kszambelanczyk
Hello! Could someone please give me a help/sample code, how to delete a file from s3 using waffle/waffle_ecto from Phoenix app. I creat...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
FlyingNoodle
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge &amp; Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews