Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

[JS code hints] Prefer results that match case of the query string #3971

Closed
iwehrman opened this issue May 23, 2013 · 14 comments
Closed

[JS code hints] Prefer results that match case of the query string #3971

iwehrman opened this issue May 23, 2013 · 14 comments

Comments

@iwehrman
Copy link
Contributor

func

@ghost ghost assigned dloverin Jun 3, 2013
@njx
Copy link

njx commented Jun 3, 2013

Reviewed, to @dloverin. Please assign a priority. Thanks!

@dangoor
Copy link
Contributor

dangoor commented Aug 16, 2013

Assigning to myself, medium priority.

@lkcampbell
Copy link
Contributor

@dangoor, I submitted a fix and assigned this bug to myself. I assume (and hope) that you will be doing the review.

@dangoor
Copy link
Contributor

dangoor commented Oct 26, 2013

@lkcampbell I'll be happy to review! Timing-wise we'll likely need to land this next sprint, but I'll take a look.

@lkcampbell
Copy link
Contributor

I'm closing that previous PR. Going to try out a different approach this week.

@lkcampbell
Copy link
Contributor

@dangoor, I apologize but I am going to have to withdraw from fixing this bug and assign it back to you. I tried to work my way through the string matching algorithm but I am having a difficult time understanding all the pieces, and I am concerned I would do more harm than good if I muck around with it.

@ghost ghost assigned dangoor Nov 3, 2013
@dangoor
Copy link
Contributor

dangoor commented Nov 4, 2013

@lkcampbell Yeah, sorry about that... StringMatch is pretty much my fault. I wrote a blog post about it, but that doesn't reduce the complexity any.

It has lots of tests, so you don't really need to worry about doing harm. But, I totally understand not wanting to unravel what that code does.

@peterflynn
Copy link
Member

Reviewed - agree with 1.0

@peterflynn
Copy link
Member

@dangoor What do you think about splitting off just the Function / function issue as a special case in the JS code hints code? That should be a super easy fix to get in for 1.0 and fixes the most visible part of this. Then the larger, broader-reaching StringMatch changes could be tracked by #2663 for fixing post-1.0...

@dangoor
Copy link
Contributor

dangoor commented Aug 21, 2014

@peterflynn I'll keep that thought in mind when looking at this. I may take a small timeboxed look at stringmatch because there have been other times when I wished it matched cases. If it looks like it will take too long, I'll just make a change in JS code hints.

@dangoor
Copy link
Contributor

dangoor commented Oct 21, 2014

This is now fixed on master. woohoo!

FBNC to @iwehrman

@marcelgerber
Copy link
Contributor

Finally!

@marcelgerber
Copy link
Contributor

Btw, #3263 is a dupe of this issue that can be closed as well.

@le717
Copy link
Contributor

le717 commented Oct 21, 2014

Awesome face

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

10 participants