4 ms·
Yes, thats my fault. Whats happening under the hood is searchcode is trying to match "MongoDBObject find" exactly, where as Github is going for a looser but phr
by boyter 12y ago
Yes, thats my fault. Whats happening under the hood is searchcode is trying to match "MongoDBObject find" exactly, where as Github is going for a looser but phrase heavy search.
Its something I am going to change based on feedback as clearly what I am doing is not what people are expecting. I will however make it an option, so you can chose exact match (current) or loose.
- rane 12y agoThanks, would be great to have searchcode up to par with Github's search. I would pay special attention to the yellow highlights. It's only confusing if the technique is overused.
- boyter 12y agoI am modifying it now to be a little more like github's. I had planned on removing the highlights too, its going to be modified to just affect the portion where the match occurred. Its mostly there as a hangover from when I was not actually highlighting the actual match and just the line.