sribe

sribe

Syntax highlighting for Sublime Text 3?

Is it really the case that the only syntax highlighting available is for only Sublime Text 2? Or is there a package somewhere that I’ve missed?

Most Liked

Alchemist

Alchemist

Hi,

there should be a package called Elixir for Sublime Text 3. This also provides syntax highlighting (but you have to restart Sublime Text afterwards in order for it to take effect).

OvermindDL1

OvermindDL1

If you know emacs then try Spacemacs, it uses the afore-mentioned alchemist and works awesomely as well. Atom might be more traditional if you prefer sublime-like things.

sribe

sribe

FWIW, this motivated me to finally compare Atom–I liked it better within minutes, and after a couple of days see no reason to try to get back to Sublime. (Of course, I’m talking about Sublime Text 2 since I haven’t been able to get syntax highlighting to work in ST3.) Maybe week after I’ll give emacs a try…

stratigos

stratigos

I just found this: https://github.com/edelvalle/SuperElixir which claims to do syntax completion and whatnot. It requires the basic ST3 Elixir package though.

After using Atom for a year, I switched back to ST3 as I lost a lot of productivity due mainly to Atom’s feature-richness and being “npm-like” (I recall more than one whole working day sunk into Atom breaking due to a package updating and me trying to figure out what went wrong). Plus there were tons of little bugs with Atom that I had to install yet more packages to compensate for. Ive had virtually zero productivity loss with ST3 (or ST2 back in the day). Atom is a wonderful idea in theory, and yea CSS to handle customizing syntax is really awesome (Sublime’s TM-theme (xml?) is unwieldy and non intuitive, but I hear the new JSON version is nice).

Where Next?

Popular in Questions Top

srinivasu
How to handle excepions in elixir? Suppose i have A, B, C ,D, E modules. and each module has get() function. A.get() method will call th...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
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
tduccuong
Hi, is there any work on GUI with Elixir, that is similar to Electron/Javascript? My idea is to bundle Phoenix and BEAM into a single se...
New
Werner
Hi, I’m using Ubuntu 18.04 and after updating to OTP-24.0 yesterday i have this warning when I run “mix local.hex”: 14:57:30.512 [warn] ...
New
mgjohns61585
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
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
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New

Other popular topics Top

yurko
Here are few pieces of (common) Linux knowledge that we use for reasonably small one server apps. We use Ubuntu but this should work for ...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
977 41022 311
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
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 45766 226
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
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
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
danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 27727 240
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
lucidguppy
I have a super simple question about elixir - how would I take a file like this foo bar baz and output a new file that enumerates th...
New

We're in Beta

About us Mission Statement