#language #css #completion #range #service #hover #document

csslsrs

Language service for CSS, providing features like completions, hover, and folding ranges

1 unstable release

0.1.0 Dec 15, 2024

#1699 in Web programming

Download history 7/week @ 2024-12-09 140/week @ 2024-12-16

147 downloads per month
Used in weblsp

MIT license

125KB
2K SLoC

A CSS Language Service made with Rust.

(Work In Progress) It provides full-featured language support for CSS, including syntax highlighting, code completion, error checking, and more. Compliant with the Language Server Protocol, CSSlsrs can be integrated into Language Servers written in Rust or JavaScript (via WebAssembly). Thanks to Biome's parser, we deliver a fast and efficient language service, designed to improve your productivity when working with CSS.

Features

Feature CSSlsrs VScode Differences
Hover 🟨 Lacks HTML previews
Completion -
Path completion -
Definition -
References -
Document Symbols -
Document Highlights -
Code Actions -
Code Lens -
Rename -
Colors -
Color Presentation Supports for LCH & Lab
Folding -
Selection Range -
Validation -
Custom data -
Super-set of CSS -

Dependencies

~15–24MB
~357K SLoC