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

Blokh
Hey guys, I’ve got a huge CSV ( around 10 GB ) that needs to be processed hourly Do you guys have any suggestions what is the best prac...
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
Onor.io
I have what I’ve heard referred to as a “lookup table” in my database. This is a way of assigning codes to common values. One common lo...
New
jaybe78
Hello, I’m developing a online persistent chat system (what’s app) like using elixir/dynamodb/aws for a mobile app(flutter). The diffic...
New
Trolleger
What approach to take when sending live updates to “random” users Hi! I have a question, I have a little chat app, and when I create a DM...
New
matt-savvy
Anyone here using Honeybadger? My Honeybadger account is being overwhelmed with noise from some bots. Seeing a lot of Bandit.HTTPError...
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

Other Trending Topics Top

garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & 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
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews