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

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
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
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
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

Other popular topics Top

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 records...
New
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
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
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New

We're in Beta

About us Mission Statement