I also noticed in the poll that some people actually customize the color scheme…
Does anyone managed to customize the grammar related to elixir so that the do: in inline function definitions is the same color as the def/defp?
I’m so glad you’re enjoying it. I have gone back and forth on light versus dark over the years. If you ever do need a dark theme, Yarra valley is my most actively maintained theme at the moment (support for semantic highlighting, more languages, etc.).
After testing out multiple themes, I noticed only a few of them highlight methods (see game_pid/1, is_pid/1, assign/2, generate_auth_token/1 etc, below):
It’s up to the theme designer whether a given token gets the default foreground color or some other color. In this case, the relevant Textmate scope is entity.name.function-call.elixir, so if you don’t like it, you can simply override in settings.json:
Since this thread is getting bumped, I should mention that I’ve released a new theme called Tol. It began as a project to make my Yarra Valley theme more color-accessible, but I liked the result so much that I ended up switching to it full time:
If you want all scopes, then the grammar file for that language will contain them. That may be bundled with VS Code or supplied by an extension, depending on your setup.
Most of the time, people tweaking settings just want to know the scope stack at the current cursor position, which you can obtain with:
Command Palette > Developer: Inspect Editor Tokens and Scopes
I’ve seen a few references to the old Railscasts theme (also known as Twilight), I’ve been using Predawn Twilight which is a little softer and looks great on Elixir!
I created a higher contrast version of Dark+ called Darkest+, and added some more colors to the default set to make elixir code a little easier to parse (for me, this is completely subjective). This is an example of what some elixir code looks like in the italic variant: