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

katta
I having some trouble figuring out if I have set myself too strict of standards for my production server. Currently I can handle 75% of r...
New
peck
Hi everyone. My team and I have been working on a fairly modest app based around video streaming and chat, but we’ve landed a customer t...
New
achenet
Hello, I’m trying to build a basic Phoenix web-app, and I’d like to use Tailwind. However, when I launch mix phx.server, I get an error...
New
bradley
I really like the adapter patterns that ecto, nebulex, waffle, etc. use and would love find something similar for a key management servic...
New
unaware8150
Hello folks! So at work, we are seeing some situations where we have to define some “fixed” strings that are used across the codebase in...
New
Alvinkariuki
How Can I Optimise Compile Time Dependencies I have been building an elixir application for about 2 years now. Many modules and files ha...
New

Other Trending Topics Top

budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
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
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
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
budgie
I love Elixir. It’s one of 2 programming languages I’ve ever fallen in love with. But I don’t use it anymore. Serverless was the promis...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews