Well, it works. And I tried it out:
"this is an instantaneous (~2ms!) search over all method sources"
Search default matchSentence: 'Convert to a String with Characters' {(ByteArray>>#asString "a CompiledMethod(108265472)")}
I am looking into how to integrate this with Spotlight [which is really fantastic and improves productivity a lot!] (I guess I'll do another binding like Ctrl-Enter instead of Shift-Enter). So, how do you get the results? Is there a quick way to open the browser on a given CompliedMethod right away? (Ah! So much to learn.... Sound is working nicely now BTW, got a couple clues!)
Phil
2012/6/25 Camillo Bruni
<camillobruni@gmail.com>
not that I would do something fancy :) (and yeas 2.0)
do:displayingProgress:
is the only thing I do basically (and you can remove the display... part so it should even work under 1.4 I think)
On 2012-06-25, at 00:38, phil@highoctane.be wrote:
> Error is due to the Progress Morph (guess you use the new thing in 2.0)
>
> 2012/6/25 Camillo Bruni <camillobruni@gmail.com>
>
>> I was bored today (after yet another kernel panic) so I implemented a quick
>> fulltext search for methods.
>>
>>
>> "this takes around 1.5mins"
>> Search default buildIndex.
>>
>> "this is an instantaneous (~2ms!) search over all method sources"
>> Search default matchSentence: 'Convert to a String with Characters'
>>
>>
>> I think we should integrate that into some kind of "SpotLight" search
>> for accessing the sources much much faster...
>>
>> The current draft is available here:
>> http://smalltalkhub.com/#!/~dh83/spotlight
>>
>>
>>