michaelgmcd / vscode-language-babel

VSCode syntax highlighting for today's JavaScript
https://marketplace.visualstudio.com/items?itemName=mgmcdermott.vscode-language-babel
MIT License
131 stars 17 forks source link

New VSCode's bracketPairColorization doesn't work with JSX #92

Closed darktasevski closed 3 years ago

darktasevski commented 3 years ago

Describe the issue A clear and concise description of what the bug is.

The original issue here: https://github.com/microsoft/vscode/issues/132164

VS Code Version: 1.60.0 OS Version: Big Sur 11.5.2

Not happening with HTML tags. I've been able to reproduce this in files with js and jsx extensions.

Screenshot of Current Behavior An image of what the code currently looks like

image

Sample Code to Reproduce Please add some code (usually the same in the screenshots below) to reproduce this issue

Steps to Reproduce:

hediet commented 3 years ago

Notice that the opening bracket is jsx: image

But the closing bracket is jsx-attr: image

michaelgmcd commented 3 years ago

I added some basic support for this (in regular JS) in v0.0.33. Still working on the JSX support

michaelgmcd commented 3 years ago

Try 0.0.34. I think it should work like the built-in plugin. It disables colorization for < and > but enables it for other brackets (like { and })