dokuzbir

dokuzbir

Visual Studio Code - how to highlight html closing tags in html.eex?

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 i solve that ? I use vscode-elixir extension
This is how in html.eex


This is what i want

Marked As Solved

dokuzbir

dokuzbir

I solved using extension highlight-matching-tag and adding these settings

"highlight-matching-tag.style": {
    "backgroundColor": "rgba(63, 191, 63, 0.20)"
},
"editor.occurrencesHighlight": false

Also Liked

tsakalidiskostas

tsakalidiskostas

On VS Code, go File > Preferences > Settings > Workbench > Appearence and click “Edit in settings.json”

Then do something like:

{
    "workbench.colorTheme": "Cobalt2",
    "window.zoomLevel": 0,
    "highlight-matching-tag.styles": {
        "opening": {
            "name": {
                "underline": "yellow",
                "highlight": "rgba(255,255,0,0.2)"
            }            
        }
      }
}
Alex_Fab

Alex_Fab

Thank you very much, you helped a lot!

Where Next?

Popular in Questions 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
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
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
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
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

Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3271 131117 1222
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
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
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 49266 226
New

We're in Beta

About us Mission Statement