Vscode: Better bracket highlight visibility

Created on 21 Sep 2016  Â·  13Comments  Â·  Source: microsoft/vscode

From UserVoice (600 votes)

The bracket highlight is too dim to easily see with most themes. In Notepad++ the brackets change color and become bold, i think that is much easier to see. Highlighting the "current bracket set" would also be really nice.

I understand the themes can be changed in a convoluted way. For such an important feature i think the feature should be default or easily accessible.

ux

Most helpful comment

I am sorry, but configuring the background or the border does not help in that case. We'd need something like "editorBracketMatch.border": "bottom #ff00ff".
See e.g. https://github.com/Microsoft/vscode/issues/23606 and https://github.com/Microsoft/vscode/issues/19534 (which was said to be tracked here).

All 13 comments

We do offer bracket highlighting:
image

We also have indent guides which should help a lot here.

There are some good extensions e.g. Rainbow Brackets.
https://marketplace.visualstudio.com/items?itemName=2gua.rainbow-brackets

@seanmcbreen the request is to improve the visibility of bracket highlighting. OP's opinion was its too dim.

I'm looking for this feature. Do we have that ? https://github.com/facelessuser/BracketHighlighter

image

But VSCODE highlights every similar instance

image

And this plugin doesn't help in this case https://marketplace.visualstudio.com/items?itemName=2gua.rainbow-brackets

@jitendravyas That's odd, both my light theme and dark theme are not showing the same problem as your second screenshot.screen shot 2016-11-02 at 1 31 23 pm
Our bracket matching works when your caret is on a tag. However, if you highlight-select the text of the tag, then it can be confusing because in addition to bracket matching, it will highlight all text that matches the selection (and there isn't enough contrast today to really always tell the difference). However, we will be improving color contrast to improve that scenario.

How to change tag highlight background and foreground color?

HTML tag matching works in my theme, highlighting matching tags, _when there are no JSX javascript expressions within the tags_. However, tag highlighting works erratically when there are JSX javascript expressions within 2 enclosing HTML tags.

Works as intended:
image

Doesn't work:
image

@vvatikiotis thanks for reporting that. Since it's a different issue than being discussed here, I created a new issue for you.

may i asked this problem has resolved? i haven't find the extension like this :https://github.com/facelessuser/BracketHighlighter

@jitendravyas
What theme is this ?

Can be done via our theming work now:

image

I am sorry, but configuring the background or the border does not help in that case. We'd need something like "editorBracketMatch.border": "bottom #ff00ff".
See e.g. https://github.com/Microsoft/vscode/issues/23606 and https://github.com/Microsoft/vscode/issues/19534 (which was said to be tracked here).

And fontColor please

Hi,
It's the same problem with me.. I'm looking for some tweaks for match brackets in VS Code and I came across searching this one..

Subtle Brackets

It's working to me with the latest VS Code 1.16.1!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sirius1024 picture sirius1024  Â·  3Comments

curtw picture curtw  Â·  3Comments

DovydasNavickas picture DovydasNavickas  Â·  3Comments

sijad picture sijad  Â·  3Comments

philipgiuliani picture philipgiuliani  Â·  3Comments