question-mark
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.

Everything after css`...` helper failed to highlight

See original GitHub issue

I cannot use css helper function in any way, it always fail to highlight my css…

after

am I missing something?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:21
  • Comments:7

github_iconTop GitHub Comments

13reactions
karlhorkycommented, Jun 19, 2020

Had this issue with highlighting some Emotion code using css tagged template strings. Seems to have started after upgrading to VS Code May 2020 (version 1.46).

I disabled the vscode-styled-jsx extension as in the comment below, and the issue seems to have been resolved.

https://github.com/emotion-js/emotion/issues/1316#issuecomment-486122598

Kapture 2020-06-19 at 14 50 36

I’ve also commented over there: https://github.com/iFwu/vscode-styled-jsx/issues/4#issuecomment-646619998

Unfortunately it looks like vscode-styled-jsx is unmaintained:

This repository is no longer actively maintained

2reactions
kolnogorovcommented, Mar 10, 2020

The same for me (looks like it’s a common bug): image

But there’s a workaround, you should add space between css and opening template literal: image

(but autoformat breaks it back)

It’s definitely a bug and should be fixed, i guess.

Read more comments on GitHub >

github_iconTop Results From Across the Web

problem with <select> and :after with CSS in WebKit
The only issue I'm having is that I can only seem to change the fill to a word like 'black' or 'white' or...
Read more >
after - CSS: Cascading Style Sheets - MDN Web Docs - Mozilla
In CSS, ::after creates a pseudo-element that is the last child of the selected element. It is often used to add cosmetic content...
Read more >
::before / ::after | CSS-Tricks - CSS-Tricks
The ::before and ::after pseudo-elements in CSS allows you to insert content ... but no dice as far as them rendering or anything...
Read more >
Styling Form Inputs in CSS With :required, :optional, :valid and
We can use the :required , :optional , :valid and :invalid pseudo-classes coupled with HTML5 form validation attributes like required or pattern ...
Read more >
Browser automation actions reference - Power Automate
All web-related UI elements are specified by one or more CSS ... Failed to select radio button, Indicates a problem in selecting the ......
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found