antiboredom / p5.vscode

A VS Code extension to generate new p5.js project files.
Other
52 stars 15 forks source link

multiroot workspaces? #55

Open Hifilo opened 1 year ago

Hifilo commented 1 year ago

Hello, When I setup my project I noticed I couldn't install libraries even though I had my workspace setup (from what I can tell) correctly. It works as expected if I open the folder in a separate instance of vscode. I'll add the libraries, and then simply switch back.

Is this an error in how I've written the paths?

my workspace structure is currently like this:

  • ~/repos/
    • projects/
    • p5jsprojects/
      • libraries/
      • index.html
      • sketch.js
      • sketch.js
      • jsconfig.json
      • p5js.code-workspace
{
    "folders": [
        {
            "path": "../.."
        },
        {
            "path": "./libraries/"
        },
        {
            "path": "./repos/projects/p5jsprojects/index.html"
        }
    ],
    "settings": {}
}