Skip to content

IntelliSense with extendVariants #2824

Answered by shripadk
teo-goulois asked this question in Q&A
Discussion options

You must be logged in to vote

As @winchesHe explained, you can just modify the LSP setting to this:

{
  "tailwindCSS.experimental.classRegex": [
    ["extendVariants\\((([^()]*|\\([^()]*\\))*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
  ]
}

It works ^

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@shripadk
Comment options

Answer selected by teo-goulois
@ellisio
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants