- Syntax highlighting
- Language server
- Code formatting using Topiary
nix profile install nixpkgs#{nickel,nls,topiary}
cargo install nickel-lang-cli nickel-lang-lsp
See the Nickel README and The LSP README.
From the root of the Nickel project:
nix build .\#vscodeExtension
The VSIX extension will be at ./result/vscode-nickel.vsix
.
From this directory:
yarn install && yarn compile && yarn vsce package --yarn
The VSIX extension will be at ./vscode-nickel-[version].vsix
.
Whenever you change package.json
, you must run the following command:
yarn install && yarn2nix > yarn.nix
This will update:
yarn.lock
yarn.nix