[Pharo-users] [Esug-list] [ann] gtspotter: a moldable interface for spotting objects

Tudor Girba tudor at tudorgirba.com
Tue Dec 9 07:23:23 EST 2014


In the Moose image, you should have 4 implementors. They represent the
underlying implementation for the keymapping overview in GTInspector:
http://www.humane-assessment.com/blog/managing-morph-keybindings-with-gtinspector

Doru

On Tue, Dec 9, 2014 at 12:44 PM, kilon alios <kilon.alios at gmail.com> wrote:

> cant find such method , i tried spotter and finder .
>
> On Tue, Dec 9, 2014 at 1:26 PM, Tudor Girba <tudor at tudorgirba.com> wrote:
>
>> Look at the implementors of
>>
>> gtInspectorMappingsIn:
>>
>> Doru
>>
>> On Tue, Dec 9, 2014 at 12:24 PM, kilon alios <kilon.alios at gmail.com>
>> wrote:
>>
>>> "What do you need to know. At the bottom of the post, there is an
>>> example of how the classes and methods search is done. Do you need more
>>> information?"
>>>
>>> Yes I noticed, give me time to really dive into the code and see what
>>> new questions I have.
>>>
>>> "Why not? Give it a try. You probably should extend Morph for that :)"
>>>
>>> I dont remember if it was Sven once offered a piece of code to return
>>> all defined shortcuts, will dig it out.
>>>
>>> On Tue, Dec 9, 2014 at 1:16 PM, Tudor Girba <tudor at tudorgirba.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>>
>>>>
>>>> On Tue, Dec 9, 2014 at 12:05 PM, kilon alios <kilon.alios at gmail.com>
>>>> wrote:
>>>>
>>>>> yeap thats a great feature to have too. I would love also more info (
>>>>> when you find the time I am in no rush ) about customizing GTSpotter. Now
>>>>> back to having fun with this tool and reading its code :)
>>>>>
>>>>
>>>> What do you need to know. At the bottom of the post, there is an
>>>> example of how the classes and methods search is done. Do you need more
>>>> information?
>>>>
>>>> PS: makes me wonder if I could use it to search for keyboard shortcuts
>>>>>
>>>>
>>>> Why not? Give it a try. You probably should extend Morph for that :)
>>>>
>>>> Cheers,
>>>> Doru
>>>>
>>>>
>>>>
>>>>
>>>>> On Tue, Dec 9, 2014 at 12:59 PM, Tudor Girba <tudor at tudorgirba.com>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> At the moment, you can easily get back to the previous context
>>>>>> through the history category.
>>>>>>
>>>>>> Doru
>>>>>>
>>>>>> On Tue, Dec 9, 2014 at 11:51 AM, kilon alios <kilon.alios at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> no that was 100% my fault , its clear in your blog post I just did
>>>>>>> not get it at first read.
>>>>>>>
>>>>>>> It works using Ubuntu its alt+shift+rightarrow
>>>>>>>
>>>>>>> I am seriously impressed with your work guys, this takes pharo to
>>>>>>> another level.  Thank you.
>>>>>>>
>>>>>>> If I could make some early requests, I would like the option to pin
>>>>>>> the GTSpotter window and also move it around if I want to keep it as
>>>>>>> reference. Since this could work as an excellent finder replacement too.
>>>>>>>
>>>>>>> On Tue, Dec 9, 2014 at 12:39 PM, Tudor Girba <tudor at tudorgirba.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> This is described briefly in the post, but Johan had also a problem
>>>>>>>> with the description.
>>>>>>>>
>>>>>>>> So, if you want to see all 30 classes, you dive in the category
>>>>>>>> through Cmd+Shift+RightArrow. This spawns the collection with the results
>>>>>>>> and you can continue searching.
>>>>>>>>
>>>>>>>> Let me know if it works for you.
>>>>>>>>
>>>>>>>> Doru
>>>>>>>>
>>>>>>>> On Tue, Dec 9, 2014 at 11:28 AM, kilon alios <kilon.alios at gmail.com
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> thanks but that was not necessary, apparently GTSpotter is not
>>>>>>>>> added to the world menus and it can only be triggered with a shortcut that
>>>>>>>>> the blog post does not mention which is alt+enter.
>>>>>>>>>
>>>>>>>>> This an awesome tool. love it :)
>>>>>>>>>
>>>>>>>>> Question : how I expand the search results , for example it gives
>>>>>>>>> a 5/30 classes how I can see all 30 classes that are the search result ?
>>>>>>>>>
>>>>>>>>> On Tue, Dec 9, 2014 at 12:14 PM, Sven Van Caekenberghe <
>>>>>>>>> sven at stfx.eu> wrote:
>>>>>>>>>
>>>>>>>>>> There is a pre-built image here http://gt.moosetechnology.org
>>>>>>>>>>
>>>>>>>>>> > On 09 Dec 2014, at 11:08, kilon alios <kilon.alios at gmail.com>
>>>>>>>>>> wrote:
>>>>>>>>>> >
>>>>>>>>>> > So how I can give this a try, I downloaded latest moose 5.0 and
>>>>>>>>>> there is no GTSpotter inside
>>>>>>>>>> >
>>>>>>>>>> > On Tue, Dec 9, 2014 at 10:27 AM, kilon alios <
>>>>>>>>>> kilon.alios at gmail.com> wrote:
>>>>>>>>>> > sounds very interesting cant wait to try it and take a look
>>>>>>>>>> also at Brick.
>>>>>>>>>> >
>>>>>>>>>> > On Tue, Dec 9, 2014 at 1:35 AM, Andrei Chis <
>>>>>>>>>> chisvasileandrei at gmail.com> wrote:
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> > On Mon, Dec 8, 2014 at 8:02 PM, kilon alios <
>>>>>>>>>> kilon.alios at gmail.com> wrote:
>>>>>>>>>> > Dont know if this is auto completion replacement or not, from
>>>>>>>>>> the looks of it seem a lot more than that. Auto completion is one of the
>>>>>>>>>> thing that annoys me in Pharo and this looks like a very good replacement.
>>>>>>>>>> >
>>>>>>>>>> > So the gui is also made with Glamour ?
>>>>>>>>>> >
>>>>>>>>>> > No it's in Brick. Brick is a small extension that we made to
>>>>>>>>>> Morphic to make it a little more faster and to control resizing better.
>>>>>>>>>> > So it's Morphic not Glamour :)
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> > Cheers,
>>>>>>>>>> > Andrei
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> > Look very good looking and very useful cant wait to try it :)
>>>>>>>>>> >
>>>>>>>>>> > On Tue, Dec 9, 2014 at 12:36 AM, Tudor Girba <
>>>>>>>>>> tudor at tudorgirba.com> wrote:
>>>>>>>>>> > Thanks for the suggestions, Johan. I will change the text and
>>>>>>>>>> we will definitely look into making the shortcuts more apparent.
>>>>>>>>>> >
>>>>>>>>>> > Cheers,
>>>>>>>>>> > Doru
>>>>>>>>>> >
>>>>>>>>>> > On Mon, Dec 8, 2014 at 5:17 PM, Johan Fabry <
>>>>>>>>>> jfabry at dcc.uchile.cl> wrote:
>>>>>>>>>> >
>>>>>>>>>> > OK now I get it … thanks for clarifying!
>>>>>>>>>> > I think my confusion stems from the use of ‘category' and then
>>>>>>>>>> talking about 'the collection object’, which made me think about
>>>>>>>>>> collections and source code and protocols and packages and I got lost.
>>>>>>>>>> >
>>>>>>>>>> > I think that the sentence of the blog would be clearer like
>>>>>>>>>> this (uppercase to show changes):
>>>>>>>>>> >
>>>>>>>>>> > To do this, GTSpotter offers an extra action: diving in a
>>>>>>>>>> RESULTS category. Pressing Cmd+Shift+ArrowRight dives in the collection OF
>>>>>>>>>> RESULTS OF that category. Thus, we can continue refining the search inside
>>>>>>>>>> the category.
>>>>>>>>>> >
>>>>>>>>>> > So then, my suggestion for a legend at the bottom of the
>>>>>>>>>> results list would be:
>>>>>>>>>> > Cmd+Shift+ArrowUp/ArrowDown = Next/Prev category,
>>>>>>>>>> Cmd+RightArrow = Dive into Result, Cmd+Shift+RightArrow = Dive into Category
>>>>>>>>>> >
>>>>>>>>>> > > On Dec 8, 2014, at 12:48, Tudor Girba <tudor at tudorgirba.com>
>>>>>>>>>> wrote:
>>>>>>>>>> > >
>>>>>>>>>> > > Hi,
>>>>>>>>>> > >
>>>>>>>>>> > > Ok. Let's take it step by step and see if we cannot find a
>>>>>>>>>> better way of explaining.
>>>>>>>>>> > >
>>>>>>>>>> > > Take a look at the first picture in the blog post. Entering
>>>>>>>>>> GTSpo shows results both for Classes and for Packages. These "Classes" and
>>>>>>>>>> "Packages" are what we call search categories, and they have associated a
>>>>>>>>>> query processor that can populate them with results (see the "Spotting your
>>>>>>>>>> objects" section from the bottom of the post).
>>>>>>>>>> > >
>>>>>>>>>> > > In our case, we get 39 classes (of which only 5 are shown)
>>>>>>>>>> and 1 package that match the query. If you want to look at all those 39
>>>>>>>>>> classes, you can dive in the whole collection behind the category in a
>>>>>>>>>> separate step. This is achieved through Cmd+Shift+ArrowRight. Does it make
>>>>>>>>>> more sense now?
>>>>>>>>>> > >
>>>>>>>>>> > > I did not consider the category to be confusing. Would you
>>>>>>>>>> propose another name?
>>>>>>>>>> > >
>>>>>>>>>> > > Cheers,
>>>>>>>>>> > > Doru
>>>>>>>>>> > >
>>>>>>>>>> > >
>>>>>>>>>> > > On Mon, Dec 8, 2014 at 4:02 PM, Johan Fabry <
>>>>>>>>>> jfabry at dcc.uchile.cl> wrote:
>>>>>>>>>> > > Sorry, but no :-(
>>>>>>>>>> > >
>>>>>>>>>> > > I am always confused when people say ‘category’ because the
>>>>>>>>>> word has so many overloaded meanings. The same happens in the blog post, it
>>>>>>>>>> is not clear to me what category means here, and what does it have to do
>>>>>>>>>> with the collection object?
>>>>>>>>>> > >
>>>>>>>>>> > > > On Dec 7, 2014, at 11:16, Tudor Girba <tudor at tudorgirba.com>
>>>>>>>>>> wrote:
>>>>>>>>>> > > >
>>>>>>>>>> > > > Hi,
>>>>>>>>>> > > >
>>>>>>>>>> > > > Yes, we will still evolve the UI. At the very least you
>>>>>>>>>> will get the shortkeys directly on the actions.
>>>>>>>>>> > > >
>>>>>>>>>> > > > The answer to your question is in the blog post:
>>>>>>>>>> > > > GTSpotter offers an extra action: diving in a category.
>>>>>>>>>> Pressing Cmd+Shift+ArrowRight dives in the collection object containing
>>>>>>>>>> only the items from that category. Thus, we can continue refining the
>>>>>>>>>> search inside the category.
>>>>>>>>>> > > >
>>>>>>>>>> > > > So, you will open the collection of that sub-category and
>>>>>>>>>> you will see more items at once (not just 5). Is it clearer now?
>>>>>>>>>> > > >
>>>>>>>>>> > > > Cheers,
>>>>>>>>>> > > > Doru
>>>>>>>>>> > >
>>>>>>>>>> > >
>>>>>>>>>> > >
>>>>>>>>>> > > ---> Save our in-boxes! http://emailcharter.org <---
>>>>>>>>>> > >
>>>>>>>>>> > > Johan Fabry   -   http://pleiad.cl/~jfabry
>>>>>>>>>> > > PLEIAD lab  -  Computer Science Department (DCC)  -
>>>>>>>>>> University of Chile
>>>>>>>>>> > >
>>>>>>>>>> > >
>>>>>>>>>> > >
>>>>>>>>>> > >
>>>>>>>>>> > > --
>>>>>>>>>> > > www.tudorgirba.com
>>>>>>>>>> > >
>>>>>>>>>> > > "Every thing has its own flow"
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> > ---> Save our in-boxes! http://emailcharter.org <---
>>>>>>>>>> >
>>>>>>>>>> > Johan Fabry   -   http://pleiad.cl/~jfabry
>>>>>>>>>> > PLEIAD lab  -  Computer Science Department (DCC)  -  University
>>>>>>>>>> of Chile
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> > --
>>>>>>>>>> > www.tudorgirba.com
>>>>>>>>>> >
>>>>>>>>>> > "Every thing has its own flow"
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> www.tudorgirba.com
>>>>>>>>
>>>>>>>> "Every thing has its own flow"
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> www.tudorgirba.com
>>>>>>
>>>>>> "Every thing has its own flow"
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> www.tudorgirba.com
>>>>
>>>> "Every thing has its own flow"
>>>>
>>>
>>>
>>
>>
>> --
>> www.tudorgirba.com
>>
>> "Every thing has its own flow"
>>
>
>


-- 
www.tudorgirba.com

"Every thing has its own flow"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20141209/37e9420a/attachment.html>


More information about the Pharo-users mailing list