The Sass language server, like the Sass compiler, is written in Dart. The language extension for Visual Studio Code is written in TypeScript. Tests for the extension are written in JavaScript.
If you have a background writing JavaScript or TypeScript, Learning Dart as a JavaScript developer is a great place to start.
To work on the language server:
To work on the language extension, or test your changes in Visual Studio Code:
- Node.js v20 or higher
- Visual Studio Code or VSCodium (we'll refer to Visual Studio Code, VS Code for short, in the documentation)
The repo is organised as a workspace. To install dependencies across packages, run this at the root level:
dart pub get
The language extension is not part of the Dart workspace. Install its dependencies separately.
cd extension
npm clean-install