tailwind-ctp-intellisense/packages/tailwindcss-language-server
Brad Cornes b26e122fac
Add automatic support for multi-config workspaces, including `@config` resolution (#633)
* wip

* wip

* Boot client if a CSS file contains `@config`

* wip

* Check document exists

* wip

* Fix duplicate document selector

* wip

* Use enum for document selector priorities

* Delete unused functions

* Remove unused state type

* Share glob patterns

* Update config file glob

* fix logs

* Fix filename checks on Windows

* Don't show error popups

* wip

* handle negated content paths

* Handle non-tailwind dependency installs

* add package root to document selectors

* tidy

* wip

* dedupe document selectors

* Fix `@config` regex

* Fix document selectors when using `experimental.configFile`

* Remove log
2022-10-18 20:35:02 +01:00
..
scripts Remove `terser` dependency, update lockfiles 2022-07-22 18:11:58 +01:00
src Add automatic support for multi-config workspaces, including `@config` resolution (#633) 2022-10-18 20:35:02 +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 Update `ThirdPartyNotices.txt` 2022-09-12 11:07:54 +01:00
package-lock.json Bump `@tailwindcss/language-server` 2022-09-13 17:35:00 +01:00
package.json Bump `tailwindcss` and plugins 2022-10-18 17:04:50 +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