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

jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New

Other popular topics Top

jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44608 311
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
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
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