Hi!
This evening I invited Andrei over to enjoy the sunset view on the Andes. We also played with Spotter. The problem we wanted to solve is the following: There are many examples in Roassal (exactly 210), covering different aspects of Roassal and looking for the right example usually takes time. So, we wanted to give a chance at Spotter. By loading GT-SpotterExtensions-CoreRoassal from MCSmalltalkhubRepository owner: 'Moose' project: 'GToolkit' user: '' password: ‘' You will enjoy the excellent work of Andrei. The key method is the following: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= GTSpotter>>spotterRoassalExamplesFor: aStep <spotterOrder: 500>aStep listProcessor allCandidates: [ (RTAbstractExample allSubclasses collect: #new) flatCollect: [ :each | each gtExamples ] ]; title: 'Roassal Examples'; itemName: [ :example | example selector ]; itemIcon: [ :example | example iconForm ]; matchSubstringByQueryParts; wantsToDisplayOnEmptyQuery: false -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= So, now, you can trigger Spotter with Cmd-Enter, and enter some words related to Roassal, for example ‘circle layout’, or ‘composite shape’ or 'color edge popup’, a matching is done with the source code of the example. For example, searching for ‘circle layout’ will suggest all the examples that contains the words ‘circle’ and ‘layout’. Here is a screenshot: The example is run by pressing enter: Very cool! Thanks Andrei!!! -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Ok. That is really, really neat. On Mon, Dec 8, 2014 at 3:36 PM, Alexandre Bergel <[hidden email]> wrote:
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
How would this work for examples of say, Twitter Bootstrap? Examples of Seaside apps? Phil _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by abergel
:) Where did you publish this? Doru On Tue, Dec 9, 2014 at 12:36 AM, Alexandre Bergel <[hidden email]> wrote:
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by philippeback
Hi Phili, Doru On Tue, Dec 9, 2014 at 4:58 AM, [hidden email] <[hidden email]> wrote:
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Tudor Girba-2
Oh. Sorry. I found it :) Doru On Tue, Dec 9, 2014 at 7:17 AM, Tudor Girba <[hidden email]> wrote:
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |