#does Deno vscode support nesting `deno.json`?

5 messages · Page 1 of 1 (latest)

autumn dock
#

There is a project I'm working on has nesting deno.json files. The parent deno.json is a bit outdated and the child is what I need to work with. However, Deno plugin of vscode doesn't recognize the closet deno.json to the current file I work on. I tried to enable Deno Enable Paths but it didn't work as expect.

Is there anyway to solve this problem?

finite crypt
#

Did you think of vscode workspaces?
You can define the path to (and name of) deno.json in the .vscode/settings.json and if you are using workspaces you can just use different settings in this subdirectory

autumn dock
#

The current repo is a vscode workspace. It is designed to contain multiple modules, each module has their own deno.json, and in the top (the repo/workspace), is another deno.json

#

So if I use workspace inside each module, I might have to jump between workspaces quite much :?

#

But I think you are right, mini workspaces seems like a good solution for now.