tailwind-ctp-intellisense/packages/tailwindcss-language-server
Brad Cornes fbbd4bc2d0
Add Tailwind CSS language mode (#518)
* Use `esbuild`

* Replace direct `eval`

* add initial language mode

* Update capabilities, add rename provider

* Update vscode types

* Add completion middleware to match built-in CSS provider

* Update language config to match built-in CSS language

* Add folding region completion provider

* Add stylesheet cache

* Add log and error handling

* Update settings handling, debounce validation

* Fix response flakiness by always augmenting CSS

* Respect folding range limit

* Use uncommon symbol as `@media` placeholder

* Update readme

* Use `esbuild` for language server build

* Add `theme()` completion item

* Avoid errors when using `@media screen()`

* Update readme

* Add CSS server to build script

* Rename language mode server file in prod

* Update VS Code `engines` and types versions

* Update grammar
2022-04-13 14:05:41 +01:00
..
scripts Replace `@vercel/ncc` with `esbuild` (#517) 2022-04-13 13:54:33 +01:00
src Add Tailwind CSS language mode (#518) 2022-04-13 14:05:41 +01:00
.gitignore add lerna and separate language server package 2021-06-01 12:37:15 +01:00
LICENSE add license and third-party notices for language server package 2021-07-12 17:24:19 +01:00
README.md update language server package 2021-08-13 12:46:40 +01:00
ThirdPartyNotices.txt Bump language server 2021-11-26 15:20:10 +00:00
package-lock.json Bump ansi-regex in /packages/tailwindcss-language-server (#512) 2022-04-01 15:24:00 +01:00
package.json Add Tailwind CSS language mode (#518) 2022-04-13 14:05:41 +01:00
tsconfig.json update tsconfig 2021-10-08 18:24:11 +01:00

README.md

Tailwind CSS Language Server

Language Server Protocol implementation for Tailwind CSS, used by Tailwind CSS IntelliSense for VS Code.

Install

npm install -g @tailwindcss/language-server

Run

tailwindcss-language-server --stdio
Usage: tailwindcss-language-server [options]

Options:

  --stdio          use stdio
  --node-ipc       use node-ipc
  --socket=<port>  use socket