I would love to have it the other way around: that Alfred can browse a Pharo image :)

Ben

On 25 Mar 2014, at 14:41, Tudor Girba <tudor@tudorgirba.com> wrote:

Excellent!

This goes in the direction of Alfred or Quicksilver. I worked on a design (no implementation yet) that goes in the same direction. I think we definitely need to get more in this direction, and that we should make it easy for people to hook their own matchers. For example, when I start something with / or ./ I would like to inspect the file with that name.

Doru


On Tue, Mar 25, 2014 at 2:30 PM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
I had this idea:

https://pharo.fogbugz.com/f/cases/13128/Use-Spotlight-to-quickly-evaluate-and-inspect-short-expressions

now you can do

<shift-Enter>:42<Enter>

to inspect the magic number 42

<shift-Enter>:1500*1.25<Enter>

to quickly compute your 25% raise

<shift-Enter>:Float pi<Enter>

to see how many decimals you still remember

<shift-Enter>:ZnClient new get: 'http://zn.stfx.eu/zn/small.html'<Enter>

and so on.

The interaction with the completion menu is not 100% perfect, but pressing <Space> at the end before <Enter> solves that.

Feedback ?

Sven

PS: I know that many Smalltalk greybeards type everywhere to the same effect, and that is cool to, but it leaves around dirty windows. Opening a workspace for a single expression often is overkill. This feature is totally keyboard driven and very clean.

PS2: Yes it resembles Emacs' M-: (evaluate-expression), but Pharo is much cooler, right ;-)





--

"Every thing has its own flow"