Stylable Intelligence

Stylable Intelligence is an extension implementing the Language Server Protocol that provides IDE support for Stylable. It currently includes:

Installation

You can install Stylable Intelligence from:

IDE extensions

Because stylable-intelligence registers .st.css files as Stylable and not CSS, certain CSS extensions may not work until they explicitly add Stylable support. The stylable-intelligence extension for VSCode is compatible with the following CSS extensions:

  1. CssTriggers(^0.4.0) - A VSCode extension which adds inline decoration to css properties to indicate their costs.

If you are using an extension that you would like to add to this list, let us know and we’re happy to help.

CSS functionality

Because Stylable files are not recognized as CSS, we proxy the CSS Language Server through stylable-intelligence. Most basic features are already supported, but if you notice anything strange, let us know.

Note:
Future plans include:

  • More Language Server features.
  • Support for JetBrains IDEs (WebStorm, IntelliJ). Currently supported only in VSCode (version 1.16 and later).