Comments (6)
Hi!
Can you provided me some example in order to test this new feature?
from coc-tailwind-intellisense.
Yes,
For example, if you are using the new version of tailwindcss-intellisense and you add the following config
"tailwindCSS.colorDecorators": "on",
"tailwindCSS.experimental.classRegex": [
"tw`([^`]*)", // tw`...`
"tw=\"([^\"]*)", // <div tw="..." />
"tw={\"([^\"}]*)", // <div tw={"..."} />
"tw\\.\\w+`([^`]*)" // tw.xxx`...`
],
"tailwindCSS.includeLanguages": {
"typescript": "javascript",
"typescriptreact": "javascript"
}
You should get autocompletion on the ...
props labelled tw="..."
and on template strings tw`...`
from coc-tailwind-intellisense.
Great, thank you for the snippet.
I'm going to update the server and I will let you know. I just noticed that the creator of the tailwind server change a lot since version 0.4.3, so not sure when I will finish the migration to the last version.
from coc-tailwind-intellisense.
Sounds good. The changes are probably due to tailwind 2.0 being released.
from coc-tailwind-intellisense.
Hey @anark I just updated the server and it seems that the experimental classRegex works fine.
I only update the server implementation, but let me know if something is not working please.
from coc-tailwind-intellisense.
Seems to be working fro me! Thanks so much.
from coc-tailwind-intellisense.
Related Issues (15)
- Not compatible with latest "jit" mode introduced in tailwind HOT 4
- Not working with .svelte file HOT 1
- [Feature request] Compatibility with WindiCSS ?
- Not getting suggestions for handlebars project HOT 1
- Not working in .svelte pug blocks
- Theme :) HOT 3
- Not working with Tailwindcss 3.0.1 HOT 10
- CocUpdate - invalid version HOT 2
- update tailwindcss intellisense HOT 1
- doesn't work on react js HOT 4
- Doesn't start when opening file directly from shell HOT 1
- Will this be updated?
- Any plans to integrate Headwind?
- Merge with the official repo? HOT 2
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 coc-tailwind-intellisense.