You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, thanks for this plugin, it's immensely helpful!
However, when I'm editing JSX and am within a string template the autocomplete stops working. Seems it only looks for className= with single or double quotes. Would be helpful for React dev if it also worked within string templates.
I believe updating the RegEx on line 149 to something like \bclass(Name)?={*[`"\']([^"\']*)$ should do the trick.
These work: className='fill-current border-' className="fill-current border-"
But this does not: className={`fill-current border-`}
The text was updated successfully, but these errors were encountered:
Firstly, thanks for this plugin, it's immensely helpful!
However, when I'm editing JSX and am within a string template the autocomplete stops working. Seems it only looks for className= with single or double quotes. Would be helpful for React dev if it also worked within string templates.
I believe updating the RegEx on line 149 to something like
\bclass(Name)?={*[`"\']([^"\']*)$
should do the trick.These work:
className='fill-current border-'
className="fill-current border-"
But this does not:
className={`fill-current border-`}
The text was updated successfully, but these errors were encountered: