-
-
Notifications
You must be signed in to change notification settings - Fork 225
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What version of VS Code are you using?
Version: 1.101.2
What version of Tailwind CSS IntelliSense are you using?
Version: 0.14.23
What version of Tailwind CSS are you using?
4.1.8
What package manager are you using?
Yarn
What operating system are you using?
MacOs
Tailwind CSS Stylesheet (v4) or config file (v3)
v4
VS Code settings
"tailwindCSS.classFunctions": ["tw"],
"tailwindCSS.emmetCompletions": true,
"tailwindcss-intellisense.trace.server": "verbose",
"tailwindCSS.experimental.configFile": "./pkg/xxx/src/index.css"
Describe your issue
Given a fn const tw = (strings: TemplateStringsArray, ...values: unknown[]) => String.raw({ raw: strings }, ...values);
The following give hover information in TS files, but not in the <script lang="ts">
part of .vue files
const defaultClasses = {
field: tw`relative`,
fieldInput: tw`bg-neutral-50 peer to-ba absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 cursor-pointer appearance-none rounded border transition disabled:cursor-default disabled:opacity-50`,
};
const x = tw`border-l`;
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working