arrterian / nix-env-selector

Allows switch environment for Visual Studio Code using Nix Package Manager.
MIT License
220 stars 29 forks source link

Handle multiple folders in the workspace #29

Closed jameseogden closed 4 years ago

jameseogden commented 4 years ago

I spent ages with this extension not working because I had multiple folders defined in the workspace eg

myproj.workspace
{
    "folders": [
        {
            "path": "foo"
        },
        {
            "path": "bar"
        },
        {
            "path": "."
        },
}

shell.nix was present in ".". The extension silently didn't find it.

I suggest either

Now it's working, all my intellisense has started working again (I reordered my folders), which is brilliant. Thank you!

jameseogden commented 4 years ago

Obvious dup, sorry.