Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1012 Bytes

File metadata and controls

30 lines (18 loc) · 1012 Bytes

Building

This document describes how to:

  • Build the Dart Sass language server.
  • Build the Sass language extension for Visual Studio Code.

Here we assume you have set up a development environment.

Building the language server

In pkgs/sass_language_server, run this command:

dart compile exe bin/sass_language_server.dart -o bin/sass-language-server

This builds an executable for your current operating system named sass-language-server. You can add this to your PATH and use it with any editor that has an LSP client.

Run sass-language-server --help to see available options.

Building the language extension

In extension:

npm run package

This creates a vsix file, which is the Visual Studio Code extension format. You can install it via the overflow-menu (tripple dots) in the Extensions pane. This can be useful to test the production build of the extension, but is not needed for development and debugging.