Visual Studio Code: Difference between revisions
imported>Jmarmstrong1207 Add nix-direnv reference for automatic switching |
fix links |
||
Line 149: | Line 149: | ||
== Creating development environments using nix-shell == | == Creating development environments using nix-shell == | ||
Instead of using configuration.nix to add packages (e.g. Python or NodeJS) for developing code on VSCode, you can instead use nix-shell. This will allow you to seamlessly create development environments with the correct packages for your project, without rebuilding and restarting NixOS. See [ | Instead of using configuration.nix to add packages (e.g. Python or NodeJS) for developing code on VSCode, you can instead use nix-shell. This will allow you to seamlessly create development environments with the correct packages for your project, without rebuilding and restarting NixOS. See [[Development_environment_with_nix-shell | this page]] for further instructions in building nix-shell development environments. | ||
=== Automatically switch nix shells when switching projects === | === Automatically switch nix shells when switching projects === |