1 unstable release
0.1.0 | Dec 15, 2024 |
---|
#1699 in Web programming
147 downloads per month
Used in weblsp
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