mauric

mauric

Syntax Highlighting not working

Hello!

I’m using Visual Studio Code with ElixirLS and the syntax highlighting stop working after (I think) an update of VS.

ElixirLS v0.5.0

Visual Studio:
Version: 1.46.1
Commit: cd9ea6488829f560dc949a8b2fb789f3cdc05f5d
Date: 2020-06-17T21:13:08.304Z
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.3.0-59-generic

vs code|690x352

Most Liked

axelson

axelson

Scenic Core Team

I’m a little confused, syntax highlighting is working in your screenshot, which is why def is purple, and Repo is blue. If you want more colors than you might want to check out a custom theme for VSCode. There’s a good list of themes in: What VSCode theme do you use?

axelson

axelson

Scenic Core Team

Of course! An honest question deserves a serious response. Good luck finding a theme that you like!

mauric

mauric

Wow… I made a stupid question..!

It bothered me that atoms weren’t highlighted, and that started to happen after an update.

I didn’t realize that the highlight is customized by the theme. So now I’m looking for a new theme.

Thanks for the answer and for not making fun of it!

Thanks!

Last Post!

Dusty

Dusty

Hi @mauric,

The best way to browse themes is vscodethemes.com. Just keep in mind that many themes have not been tweaked for Elixir. If you like the default dark theme, there is an Elixir-friendly version called Dark+ Elixir that is popular around here. We also had a recent poll on VS Code themes (EDIT: looks like Axelson already mentioned this…a good starting point, in any event). I am using my own theme, called Yarra Valley. Good luck!

Where Next?

Popular in Questions Top

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
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
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? Ecto.Repo — Ecto v3.14.0 has exampl...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New

Other popular topics Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 44167 214
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New

We're in Beta

About us Mission Statement