sribe

sribe

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?

Showing Posts 1 to 10

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).

sribe

sribe OP

Spoke too soon! What I found via google is the same vishnevskiy/ElixirSublime that I found last night, which does not provide code completion. If an Elixir syntax-highlighting plugin exists for SublimeText 3, could somebody please point me directly to it???

EDIT: It does provide code completion, but not syntax highlighting. Apologies for the mistyping and making this thread confusing!

Good grief, I googled several reasonable searches for that last night before posting, and got nothing except references to the TM bundle that only supports Sublime Text 2. This morning I read your post, thought “really, where???” but googled to double check before posting here, and it was the first hit.

Anyway, thanks.

NobbZ

NobbZ

@Alchemist has shown you a plugin which is able to do syntax highlighting. But in the first paragraph you are talking about completion as well…

For completion I am only aware of two tools that can do it. One is the elixir intellij plugin and the other is the tool behind Emacs alchemist mode. There may be wrappers available for other editors as well.

sribe

sribe OP

@Alchemist has shown you a plugin which is able to do syntax highlighting. But in the first paragraph you are talking about completion as well…

No, he’s led me to a plugin which does code completion, but not syntax highlighting. (Edit: My bad that I misphrased in the above comment.)

Google “Elixir for Sublime Text 3”, the first hit is the one I referred to above, and its description states “This package does not offer syntax highlighting. Use the offical Elixir TextMate bundle.” And the official bundle seems to only support Sublime Text 2.

Seriously, I have google’d the living **** out of this and have not found anything that does Elixir syntax highlighting for Sublime Text 3. If anybody knows of such a plugin, please post a link.

OvermindDL1

OvermindDL1

Atom has wonderful completion for Elixir I think, an example:

Ignore it being offset far to the right, that is because of other Atom settings I have, it usually appears at the cursor. ^.^

sribe

sribe OP

I’m beginning to think that I need to check out Atom or Emacs… (I was trying to keep that off my learning curve because I’m already dealing with enough new stuff.) I am trying out IntelliJ–so far I my impression can be summed up as “meh”.

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.

sotojuan

sotojuan

Atom is great for Elixir and I like that I can fix the syntax highlighting with CSS any time. It’s a bit slow on my laptop though so I only use it when working on large projects for a long time. Not the best editor for a quick fix.

sribe

sribe OP

I don’t really “know” emacs. I did use it extensively at one time, but that was literally decades ago…

But it might be time to dive back in…

voger

voger

Sorry for the off topic but have you tried running atom with --disable-gpu? It made a huge difference for me.

Where Next? Top

Trending in Questions Top

itzmidinesh
Hi all, I’m working on a Phoenix project where I need to make external HTTP requests and I’m trying to choose between Req and HTTPoison....
New
yarrichar
I’m very new to Elixir, so sorry if this is a silly question: I am wondering what happens to the mailbox of a process when the machine i...
New
pragdave
How do I tell Hologram not to escape HTML when substituting into templates? {Textile.render(@product.long_description)} escapes the HTM...
New
Fl4m3Ph03n1x
Background When trying to execute mix release on a Windows 11 machine for a Phoenix project I get the following error: * assembling mark...
New
rlipscombe
I’d like to create a file with 600 permissions (rw-------), but there’s a race condition if I create it and then change the permissions. ...
New
saleyn
Is there a way to import record definitions in the iex shell for pretty printing (similar to the rr command in the erl shell)? This woul...
New
rlipscombe
When I use Mix.install with a git dependency, using git@github.com:... how do I change the SSH identity used? I’ve got two Github accoun...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
raa-ziq
Hi everyone :waving_hand: I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews