Nix VS Code Extension Pack
Collection of extensions for Nix ecosystem (NixOS, Flake, DirEnv ...)

Features includes:
- Load environment inside VSCode
- Error reporting
- Rename
- Go to definition
- Syntax highlighting
- Comment
Requirements
Nix IDE
To enjoy all the features of the Nix IDE extension, it is recommended to add it to your settings:
{
"nix.enableLanguageServer": true
}
And have rnix-lsp in your environment:
{ pkgs, ... }:
pkgs.mkShell {
buildInputs = with pkgs; [
rnix-lsp
];
}
Alternative: you can install only nixpkgs-fmt but not all features will be available
{ pkgs, ... }:
pkgs.mkShell {
buildInputs = with pkgs; [
nixpkgs-fmt
];
}
DirEnv
To enjoy the direnv extension, follow the direnv installation procedure
Want to see more extension added?
Open a MR or an issue and i will to take a look