On 27 sept. 2010, at 14:36, Lukas Renggli wrote:

As a remainder, this is what you can do from the search bar. Type:
 ClassName (starts with uppercase, look up class definition)
 #ClassName (look up references to ClassName)
 methodName (starts with lowercase, look up implementors of methodName)
 #methodName (look up senders of methodName)
- 'string' (look up for string in methods (not the same as look up in method source, which is much slower))

There is another one if you have the refactoring tools loaded. If the
expression contains a backquote it searches for parse tree patterns,
e.g.

  `@expr instVarNamed: `#string

finds all the senders of #instVarNamed: that have a plain
string-literal as its argument.


ahah, didn't know this one (however, talk about cryptic syntax when it comes to parse tree patterns :))



The search bar also works with completion, so it doubles as a useful launch bar actually.

The fact that completion works is quite accidental and should be improved :-)

Any idea welcomed

Actually, Colin and I were discussing about removing the Mercury
panel. We observed that almost nobody uses or knows how to use it. I
personally never use it, I find other ways to navigate much more
efficient and simpler to perform without the need of typing
cryptographic sequences of characters :-)


Well I use it a lot, but the fact is I never used it before O2, which provided a nice ghost help about the syntax. I don't know how to put a ghost in the OB widgets though so that people can learn how to use it.

My main concern with other navigation ways is that I need to pay attention to the selected pane to run a specific search (Find class works only in the left most pane, at least until now), and they do not necessarily accept a partial match (or have completion enabled, even by accident :))



The mercury panel is highly extensible, so maybe it would make sense
to move it into an externally maintained package?


Yeah perhapsit does not belong to the browser. It seems more handy as a kind of launcher/quick search like Algernon (I have something like that also).


Lukas

--
Lukas Renggli
www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
 Simon