You can configure the deno.enablePaths option in .vscode/settings.json to enable it specifically for a designated path.
deno.enablePaths
.vscode/settings.json