Nincompoops Producing Methane

    css-language-server

    0.0.2 • Public • Published

    css-language-server

    Language server for CSS, LESS, and SASS. Extracted from VSCode and made reusable.

    Why?

    This is an implementation of the language server protocol, which makes completion, hover info, go-to definition, etc. available across editors.

    Features

    • CSS Support
    • LESS Support
    • SASS Support
    • Validation
    • Definition provider
    • Hover provider
    • References provider
    • Completion provider

    Installation

    npm install -g css-language-server
    

    This language server has been tested primarily with Oni, and it is forked from VSCode, but should work with any client that allows for configurable language servers.

    Feel free to contribute and add setup steps for your favorite editor.

    Launching the Server

    The server can be launched with one of the following transports:

    css-language-server --stdio
    css-language-server --socket={number}
    css-language-server --node-ipc
    

    Contributing

    PRs are welcome. Clone the repo and run:

    npm install
    npm run build
    

    License

    This project is licensed under the MIT License

    This is a derived work - please see Third Party Notices for the original copyright and license.

    Install

    npm i css-language-server

    DownloadsWeekly Downloads

    5

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • bryphe