Comments (6)
Ah I think I see the issue. You need to be using Tailwind CSS locally. Specifically, you need to have a config file (e.g. tailwind.js
) and tailwindcss
installed via npm/yarn (i.e. node_modules/tailwindcss
)
I could probably make this clearer in the readme
from tailwindcss-intellisense.
Hey @Coupz, thanks for the suggestion, this has been added in 0.1.15
β it might take a short while for the update to show up
from tailwindcss-intellisense.
Thank you, but, well, doesn't seem to work as expected. I changed the filetype on the bottom right corner of VSCode to HTML and only getting already used classes.
If the filetype is on Leaf, I don't get any autocompletion suggestions from tailwind classes π€
from tailwindcss-intellisense.
Hmm, thatβs strange. All good on my end. Is that the same project that was previously working for HTML files?
from tailwindcss-intellisense.
It's the same master.leaf file.
This is the file:
The autocomplete only shadows when doing CTRL + Space on macOS Mojave.
This is the same file, just renamed the extension to .html:
Showing only tailwind classes that have been used before.
Really strange π€
Edit: to give more context: this is a Vapor project and Tailwind is only included via CDN and not via the npm package. Maybe that's the point here?
from tailwindcss-intellisense.
Alright, I'll try that with the npm/yarn package. Thank you π
from tailwindcss-intellisense.
Related Issues (20)
- not getting suggestions of tailwindcss intellisense HOT 1
- Regression between NPM releases 0.0.16 and 0.0.17 β Not working in Neovim HOT 20
- Failed to parse custom class regex in neovim HOT 2
- LSP broken on NVim(AstroNvim) with exit code 1 after latest update HOT 3
- tailwindCSS.experimental.classRegex breaks after Version 10.5 HOT 2
- Project paths with parentheses not working (v0.12.x) HOT 3
- tailwindcss-intellisense extension not working properly HOT 4
- Parser is reading (some) comments as classes HOT 1
- Notification of breaking api change with v1.92 release of VS Code HOT 2
- Tailwind css intellisense not working HOT 1
- VSCode 1.91 breaks code actions HOT 7
- tailwindCSS.emmetCompletions set not work HOT 1
- Failed to read configuration (d:\xxx\xxx\tailwind.config.js) HOT 6
- bun runtime support HOT 4
- "Unknown at rule @apply" warning in Vue SFC style section HOT 2
- Releases and Changelog Not Updated HOT 2
- No Completion Suggestions Received for ERB file HOT 3
- Unable to find config file on network drive (v0.12 regression) HOT 7
- Isn't working not HOT 3
- Extension issue HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tailwindcss-intellisense.