-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
[tern addon] Add caseInsensitive autocompletion option #3308
Conversation
- allow caseInsensitive option eg. ` server = new CodeMirror.TernServer({caseInsensitive: true});` - caseInsensitive is passed to tern request query which allow case insensitive autocomplete searches
Just a suggestion. Maybe |
hmm yes, double negatives... i used |
Please take a look at the attached patch instead. It adds a more general way to add options to queries. You'd pass it As for the double negative, I agree that's bad style, but that ship has sailed (it is part of the Tern API, and I don't consider it a big enough problem to change it now). |
@marijnh hmm. let me test that. but from my first looks it seems like do you think it would be better to have a query hook filter option which takes a function instead (which might be even more flexible)? |
quick test with |
I am not sure I understand your concern. Yes, |
maybe my concerns are unfounded, but looks like this issue has been resolve, so I'll close this. Thanks! |
server = new CodeMirror.TernServer({caseInsensitive: true});
relates to ternjs/tern#163