-
Notifications
You must be signed in to change notification settings - Fork 143
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
Ability to include or exclude files to be enabled by a filter in the configuration #633
Comments
No, it is quite a bit more complicated than that. We should have a chat. Because there is the enablement/disablement with the built in language server, as well as the enablement/disablement in the lsp. This was extensively discussed in #314, which we closed with workspace folders, but then there was a lot of other discussion about it. The protocol allows "per resource" enablement/disablement, it is just the vscode doesn't actually support per resource configuration/globbing/etc. If we overlay something on top of it, there are challenges about how we ensure correct editor behaviour. We should discuss further next week "face-to-face" because it isn't straightforward. |
@kitsonk what if we had a “deno.cwd” setting so people could do |
I would say we could experiment with |
Oh, that’s a good idea! Thanks! |
Hmmm... that is pretty clunky actually, because it disables the ability to edit it using the GUI. I think |
Ok, I changed my mind again... |
Hello, does this feature supports a glob pattern? My use case is the following:
So basically I've done this: While it works for the |
No, glob paths dramatically increase the complexity of how to manage the language server. Only path base segmentation is supported for now (any likely in the future). |
Is your feature request related to a problem? Please describe.
Disabling Deno for certain files currently requires setting up multiple vscode workspaces. This can be a bit extreme to setup for certain projects especially considering it takes multiple config files. It would be useful to be able to specify in the config to include or exclude certain files.
cc @kitsonk - we're going to want to get this one in or a similar solution next week (see deploy channel for more details). I believe this is just an extension side change we could make?
The text was updated successfully, but these errors were encountered: