Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Exposing fuzzySearchMinScore as setting #25

Merged
merged 2 commits into from
Mar 9, 2018

Conversation

gushuro
Copy link
Contributor

@gushuro gushuro commented Mar 7, 2018

This has been requested in microsoft/vscode#44568
We will be exposing the fuzzySearchMinScore so it can be configured via emmet.Preferences setting

@@ -767,9 +767,15 @@ function getFormatters(syntax: string, preferences: any) {
comment: commentFormatter
};
}

let fuzzySearchMinScore = preferences.fuzzySearchMinScore || 0.3;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if preferences.fuzzySearchMinScore is not a number?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a better one, what if it's 0?

@ramya-rao-a ramya-rao-a merged commit 64d639e into microsoft:master Mar 9, 2018
@gushuro gushuro deleted the fuzzyscore branch March 9, 2018 01:43
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants