Stylelint Language Server

July 9, 2025 ยท View on GitHub

To enable Stylelint language support in your IDE, you can integrate the Stylelint-LSP by following these steps:

Step 1: Install the Language Server

  1. Open a .css file in your project.

  2. Click on Install Stylelint Language Server:

    Open file

  3. This will open the New Language Server Dialog with Stylelint Language Server pre-selected:

    New Language Server Dialog

  4. Click OK. This will create the Stylelint Language Server definition and start the installation:

    Installing Language Server

  5. Once the installation completes, the server should start automatically and provide Stylelint language diagnostics directly within the IDE.

Step 2: Configure Stylelint

  • If necessary, execute npm install stylelint in your project root.
  • Create a configuration file.

Troubleshooting Installation

If the installation fails, you can customize the installation settings in the Installer tab,
then click on the Run Installation hyperlink to reinstall the server:

Installer tab

See Installer descriptor for more information.