diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..1846805 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "terminal.integrated.profiles.linux": { + "nix develop": { + "path": "nix", + "args": ["develop"] + } + } +} \ No newline at end of file diff --git a/README.md b/README.md index 4efd9b5..5e59945 100644 --- a/README.md +++ b/README.md @@ -106,4 +106,13 @@ And when we run it through `dotnet`: stab ``` -Neat. +Neat. VS Code doesn't seamlessly work with nix, so to get the extensions working we'll need to restart it from an existing `nix develop` shell so `dotnet` is on the path. For the integrated terminal, we can creating a profile for `nix develop` and set it as the default profile. + +``` +"terminal.integrated.profiles.linux": { + "nix develop": { + "path": "nix", + "args": ["develop"] + } +} +```