Description
What version of Tailwind CSS are you using?
For example: v3.4.4
What build tool (or framework if it abstracts the build tool) are you using?
Vite, but that should not matter, since the issue is related to the intellisense vscode plugin
What version of Node.js are you using?
v18.20.0 (but should not matter)
What browser are you using?
Does not matter
What operating system are you using?
macOS
Reproduction URL
https://github.com/anmolitor/tailwindcss-elm-intellisense-minimal
I added screenshots to the README, so you can see precisely what the behaviour is that I am missing.
Describe your issue
When opening a .elm file, until Tailwind CSS Intellisense v10.5, I have gotten suggestions with the following setting:
"[elm]": {
"tailwindCSS.experimental.classRegex": [
"\\bclass[\\s(<|]+\"([^\"]*)\"",
"\\bclass[\\s(]+\"[^\"]*\"[\\s+]+\"([^\"]*)\"",
"\\bclass[\\s<|]+\"[^\"]*\"\\s*\\+{2}\\s*\" ([^\"]*)\"",
"\\bclass[\\s<|]+\"[^\"]*\"\\s*\\+{2}\\s*\" [^\"]*\"\\s*\\+{2}\\s*\" ([^\"]*)\"",
"\\bclass[\\s<|]+\"[^\"]*\"\\s*\\+{2}\\s*\" [^\"]*\"\\s*\\+{2}\\s*\" [^\"]*\"\\s*\\+{2}\\s*\" ([^\"]*)\"",
"\\bclassList[\\s\\[\\(]+\"([^\"]*)\"",
"\\bclassList[\\s\\[\\(]+\"[^\"]*\",\\s[^\\)]+\\)[\\s\\[\\(,]+\"([^\"]*)\"",
"\\bclassList[\\s\\[\\(]+\"[^\"]*\",\\s[^\\)]+\\)[\\s\\[\\(,]+\"[^\"]*\",\\s[^\\)]+\\)[\\s\\[\\(,]+\"([^\"]*)\""
]
},
"editor.quickSuggestions": {
"strings": true
},
"tailwindCSS.includeLanguages": {
"elm": "html"
},
For example by typing in the following:
test = class "flex"
When typing the "" I would already get suggestions from the extension.
When upgrading the extension to a more recent version (tested 12.0 and 12.3), I do not get any suggestions anymore.