What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 133 Stack Exchange communities.

Possible Duplicate:
Please consider making identifiers in code snippets searchable items

I put this query in the advanced search:

user:684229 addListener 

Why doesn't it find this answer? It seems it doesn't search in the code. We may discuss if it's a feature or bug, but considering it a bug and fixing it would make the system much more intuitive and usable :-)

EDIT: That means maybe it needs some change because we are programmers and we do search for function/method names very often! Added a feature-request tag.

share|improve this question

marked as duplicate by Uphill Luge, Arjan, kiamlaluno, hammar, ChrisF Dec 10 '11 at 23:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
@Uphill if you close it these upvotes will come in vanish.. –  Tomas Dec 3 '11 at 7:50
1  
If you like it please upvote also the question linked by Uphill –  Tomas Dec 3 '11 at 10:08

1 Answer 1

up vote 8 down vote accepted

That post is found if I search for a little bit more of your code, so advanced search does work in code.

Search: user:684229 "google.maps.event.addListener(map, 'zoom_changed', function ()"

As Arjan mentioned in the comments, it appears to not find addListener when you fully qualify the class name in your code. Likely because search sees it as a substring of a longer word.

share|improve this answer
2  
Also user:684229 job and user:684229 google.maps.event.addListener do find that post. But indeed, it somehow does not find addListener when in the code itself it's used like google.maps.event.addListener. –  Arjan Dec 2 '11 at 19:04
3  
thank you guys. That means maybe it needs some change because we are programmers and we do search for function/method names very often!!! –  Tomas Dec 2 '11 at 20:56

Not the answer you're looking for? Browse other questions tagged .