tailwind-ctp-intellisense/packages/tailwindcss-language-server
Remco Haszing ae18cb2449
Remove language service dependency on TextDocuments (#742)
The code actions API depends on `TextDocuments`. This is specific to the
language server. This makes it hard to use without a language server.

The use of `TextDocuments` has been removed. Instead, the resolved text
document is passed down.
2023-03-27 18:39:56 +01:00
..
scripts Remove `terser` dependency, update lockfiles 2022-07-22 18:11:58 +01:00
src Remove language service dependency on TextDocuments (#742) 2023-03-27 18:39:56 +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` 2023-01-31 17:16:31 +00:00
package-lock.json update `package-lock.json` 2023-02-03 12:12:43 +00:00
package.json Fix use of certain built-in node modules in config file (#745) 2023-03-26 18:20:24 +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