Quickstart for Nix IDE
mainTo get started with Nix support in Visual Studio Code:
- Install the extension and open a
.nixfile. - Syntax Highlighting: Works automatically for Nix files and Nix code blocks inside
markdownfiles. - Formatting: Auto-formatting works out of the box if
nixfmtis in your$PATH. - Linting: Syntax errors are linted using
nix-instantiate. - Snippets: Includes snippets for conditional expressions,
let/withexpressions, andrecursive sets. - Path Completion: For path completion, install the Path Intellisense extension.