Skip to content

Latest commit

 

History

History
70 lines (44 loc) · 1.34 KB

File metadata and controls

70 lines (44 loc) · 1.34 KB

@css-modules-kit/ts-plugin

A TypeScript Language Service Plugin for CSS Modules.

Installation

VS Code

Install the ts-plugin via the Extension. Please install:

Neovim

First, install ts-plugin globally.

npm i -g @css-modules-kit/ts-plugin

Next, update your LSP client configuration. Below is an example using nvim-lspconfig.

local lspconfig = require('lspconfig')

-- TODO: Welcome to contribute

Emacs

First, install ts-plugin globally.

npm i -g @css-modules-kit/ts-plugin

Next, update your LSP client configuration.

TODO: Welcome to contribute

Zed

Install the ts-plugin via the Extension. Please follow the steps below:

  1. Install "CSS Modules Kit" extension.
  2. Add the following to your ~./config/zed/settings.json file:
    {
      "languages": {
        "CSS": {
          "language_servers": ["vtsls", "..."]
        }
      }
    }
  3. Restart Zed.

WebStorm

Not yet supported.

StackBlitz Codeflow

Install the ts-plugin via the Extension. Please install:

Configuration

See Configuration.