-
Notifications
You must be signed in to change notification settings - Fork 22
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
Make the include setting opt-in, and enable the extension to work globally otherwise #72
Comments
Thanks for these good observations and suggestions, which I agree would make for smoother on-boarding. The comment about performance impact of As best I can tell, VSCode does use the provided default settings for @alkatar21 and @elazarcoh are now helping maintain the extension, and are working on other improvements at the moment. So I'd like their opinion before proceeding. |
I'm having similar thoughts. |
I am currently very busy, but in a few weeks I have some time. I would also prefer it if |
I just looked at the code and believe that |
When you don't set a value for the setting, it uses the default value set by the extension, which is defined here. However, even when I set the setting to an empty list, a string, or even null, it doesn't highlight anywhere, so there's either an issue with the On the other hand, I went against the advice or the original author and manually set |
Yes, I came to the same conclusion now. I want my editor to highlight TODOs, no matter where. And this is a text editor, not something meant to deal with binary data. Opening very large files probably causes performance issues in VSCode before this extension has an effect on it. |
This is a quick nudge to @willdhorn @elazarcoh @alkatar21 @ygoe hoping that one or more can test this new .vsix (which hopefully contains the updated documenation) so that I can know whether to release it or not. |
I am currently very busy, but I have at least briefly looked over it and left feedback. |
I had changed In #75 @alkatar21 commented that this stops just selecting a few files or folders, which is true. |
I would just do include for files for now and I am unsure if |
I've been using the new .vsix and it's working without having to override anything in my settings. Thanks! |
Any update here? Where do I get that beta version? I see that there was no update since then. Does it have the language selection or the file selection now? |
|
As mentioned in #69, the
include
andexclude
settings weren't actually wired up previously, so the default behavior was to enable the extension globally. IMO,include
should be undefined or an empty list by default - which would enable the extension globally1. Then if the user wants, they can limit which files types the extension considers by putting file types (or languages as mentioned in this comment) in theincludes
setting. This makes more sense than than shipping the extension with a predefined list of (mostly web-dev related) file types that it works with and forcing users to add the file types that are specific to how they use vscode.There are a couple reasons I think this is an improvement:
include
option to their settings, but while still keeping the benefit of actually having the setting wired up for those that want to use it.**/*
, as the readme explicitly warns against2, or, rather absurdly, adding every file extension they are likely to work withFootnotes
It probably makes sense to have a default exclude list to avoid slowing down scanning large files that are not relevant ↩
I'm making the assumption that the performance impact mentioned of using
**/*
is different than whatever the extension was doing before the recent changes ↩The text was updated successfully, but these errors were encountered: