Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JSX fragment tag short syntax does not work in light theme

See original GitHub issue

Please support us before creating a feature request, thanks for your support 😁

Please check

  • I already support this project.
  • If you are submitting a feature request, please do consider buy this plugin here or donating us on Open Collective Or by AliPay/WeChatPay.
  • This issue/feature request is not reported before.

Your programming languages

Expected Behavior

When fragment tags are used <> and </> I would like them to be highlighted the same as other HTML tags

Current Behavior

They remain grey

Issue Analytics

  • State:open
  • Created 9 months ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

ben-woodward-appsbrokercommented, Dec 7, 2022

Looks to be theme related, I lose the colour when on the “Light” theme, but it’s there on “Dark” and “High Contrast”

izhangzhihaocommented, Dec 7, 2022

Cool, I can repeat it in 2022.3 now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fragments - React
Short Syntax. There is a new, shorter syntax you can use for declaring fragments. It looks like empty tags: class Columns ...
Read more >
React Fragments shorthand <></> breaks VSCode syntax ...
I have tried different themes but they all have this problem. Any ideas? enter image description here · reactjs · visual-studio-code.
Read more >
Support <> standalone fragment syntax · Issue #84 - GitHub
I think IDEs will erroneously try to autocomplete that closing tag too actually. Unless JSX ends up reserving an element name then the...
Read more >
Why are fragments better than container divs ? - GeeksforGeeks
Therefore, React fragments are better than the 'div' tags. With React Fragment, you can render multiple elements of a component without adding ...
Read more >
What are React Fragments or the React Empty Tags ... - Medium
This is called the Empty tag in React. This is a shorter syntax for React Fragments. So we can also write the previous...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found