Skip to content
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

#15 Feature flag CodeLens integration, don't combine globs that use group conditions #16

Merged
merged 3 commits into from
Feb 18, 2020

Conversation

andrewbridge
Copy link
Contributor

Fixes an issue where VSCode didn't allow nested group conditions in globs such as {**/*{nunit,xunit}.dll,**/node_modules/**}. This often occurred when we tried to combine globs together for efficiency.

We now use a optimisation strategy where we always loop round multiple search patterns, but will optionally condense the number of individual search patterns if group conditions aren't used. This optimisation can be improved in the future.

We also combine config watching logic into the ConfigManager and only use one instance of the config manager across the codebase. This allows easy watching across the codebase as well as disposal of watchers.

@andrewbridge andrewbridge merged commit 20f0420 into master Feb 18, 2020
@andrewbridge andrewbridge changed the title #15 Feature flag CodeLens integration, don't combine globs that use glob conditions #15 Feature flag CodeLens integration, don't combine globs that use group conditions Feb 19, 2020
@andrewbridge andrewbridge deleted the GH-15 branch August 11, 2020 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant