After installing vscode-nix-ide in vscode version 1.91.1 today, I found it produced an error 'spawn nix-instantiate ENOENT' when I opened a very basic 'hello world'-style shell.nix script. Auto-completion doesn't seem to work and formatting the file gives me another error 'failed to run nixpgs-fmt: spawn nixpks-fmt ENOENT'.
At first I thought this might be because I hadn't explicitly installed and set up a language server for Nix but upon reading your installation instructions for nixd, they say "vscode-nix-ide extension provide a general interface for nixd, and it should work out of box. Please file a bug if you encountered some trouble using the extension." - so I am. Apologies if I've misunderstood something here.
After installing vscode-nix-ide in vscode version 1.91.1 today, I found it produced an error 'spawn nix-instantiate ENOENT' when I opened a very basic 'hello world'-style shell.nix script. Auto-completion doesn't seem to work and formatting the file gives me another error 'failed to run nixpgs-fmt: spawn nixpks-fmt ENOENT'.
At first I thought this might be because I hadn't explicitly installed and set up a language server for Nix but upon reading your installation instructions for nixd, they say "vscode-nix-ide extension provide a general interface for nixd, and it should work out of box. Please file a bug if you encountered some trouble using the extension." - so I am. Apologies if I've misunderstood something here.