-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-enable extension when deno.json/deno.jsonc is present #880
Comments
There could also be a globally set option which the users can opt in/out for this behavior. |
@dsherret and I discussed this recently and it's something we definitely want to look at. Having |
@bartlomieju awesome to hear! |
@bartlomieju has this been assigned to someone already? |
@felipecrs, no, not yet. |
With denoland/vscode_deno#902 for denoland/vscode_deno#880. For multi-folder workspaces, note that this only scans the first one and applies the result to all. That means users would have to still have to specify `"deno.enable": true/false` for their secondary folders if the preference is different for those.
It'd be awesome if the extension could by default look for a deno.json or deno.jsonc file and if one of the two is available, set
deno.enable
automatically totrue
.Why?
A lot of Deno projects (e.g. the std library) don't configure
deno.enable
for just the workspace, making it annoying for people who don't havedeno.enable
set totrue
globally.Also, this would allow us to have one file less in our codebases. :)
The text was updated successfully, but these errors were encountered: