[Pharo-project] implementors of...
If I have a method showing in the method pane, I can right-click on renderContentOn: and get a list of all the implementors of that method. What if I don't know of a class that has the renderContentOn: method? How can I find the classes then? ===Blake===
I don't get it I think ... You want to retrieve the classes that implements renderContentOn in the case you do not know a method containing a call to this selector ? Am I right ? Ben On May 13, 2012, at 7:51 PM, blake wrote:
If I have a method showing in the method pane, I can right-click on renderContentOn: and get a list of all the implementors of that method.
What if I don't know of a class that has the renderContentOn: method? How can I find the classes then?
===Blake===
On Sun, May 13, 2012 at 10:54 AM, Benjamin <benjamin.vanryseghem.pharo@gmail.com> wrote:
I don't get it I think ...
You want to retrieve the classes that implements renderContentOn [snip]
This is what I want. I don't want to have to find a class that implements renderContentOn first, and then go to the renderContentOn method, right-click and select "implemenors of". Happens to me all the time. I was trying to find an "openInWorld" versus an "openInWindow" versus various "line" methods.
in the case you do not know a method containing a call to this selector ?
I don't understand this half of your sentence. I can't just open up a method, put the selector in and search for that, can I? (If I can, it's not obvious how.)
So just find any text area (inspector, workspace, code browser ) type the selector you are looking for (here renderContentOn:) then select the selector and do cmd+m for implementors, cmd+n for senders It should do what you want :) Ben On May 13, 2012, at 8:11 PM, blake wrote:
On Sun, May 13, 2012 at 10:54 AM, Benjamin <benjamin.vanryseghem.pharo@gmail.com> wrote:
I don't get it I think ...
You want to retrieve the classes that implements renderContentOn [snip]
This is what I want. I don't want to have to find a class that implements renderContentOn first, and then go to the renderContentOn method, right-click and select "implemenors of".
Happens to me all the time. I was trying to find an "openInWorld" versus an "openInWindow" versus various "line" methods.
in the case you do not know a method containing a call to this selector ?
I don't understand this half of your sentence. I can't just open up a method, put the selector in and search for that, can I? (If I can, it's not obvious how.)
Cool! Thanks! On Sun, May 13, 2012 at 11:20 AM, Benjamin <benjamin.vanryseghem.pharo@gmail.com> wrote:
So just find any text area (inspector, workspace, code browser ) type the selector you are looking for (here renderContentOn:) then select the selector and do cmd+m for implementors, cmd+n for senders
It should do what you want :)
Ben
On May 13, 2012, at 8:11 PM, blake wrote:
On Sun, May 13, 2012 at 10:54 AM, Benjamin <benjamin.vanryseghem.pharo@gmail.com> wrote:
I don't get it I think ...
You want to retrieve the classes that implements renderContentOn [snip]
This is what I want. I don't want to have to find a class that implements renderContentOn first, and then go to the renderContentOn method, right-click and select "implemenors of".
Happens to me all the time. I was trying to find an "openInWorld" versus an "openInWindow" versus various "line" methods.
in the case you do not know a method containing a call to this selector ?
I don't understand this half of your sentence. I can't just open up a method, put the selector in and search for that, can I? (If I can, it's not obvious how.)
There is a finder plugin for nautilus also :). On Sun, May 13, 2012 at 8:29 PM, blake <dsblakewatson@gmail.com> wrote:
Cool! Thanks!
On Sun, May 13, 2012 at 11:20 AM, Benjamin <benjamin.vanryseghem.pharo@gmail.com> wrote:
So just find any text area (inspector, workspace, code browser ) type the selector you are looking for (here renderContentOn:) then select the selector and do cmd+m for implementors, cmd+n for senders
It should do what you want :)
Ben
On May 13, 2012, at 8:11 PM, blake wrote:
On Sun, May 13, 2012 at 10:54 AM, Benjamin <benjamin.vanryseghem.pharo@gmail.com> wrote:
I don't get it I think ...
You want to retrieve the classes that implements renderContentOn [snip]
This is what I want. I don't want to have to find a class that implements renderContentOn first, and then go to the renderContentOn method, right-click and select "implemenors of".
Happens to me all the time. I was trying to find an "openInWorld" versus an "openInWindow" versus various "line" methods.
in the case you do not know a method containing a call to this selector ?
I don't understand this half of your sentence. I can't just open up a method, put the selector in and search for that, can I? (If I can, it's not obvious how.)
Also cool. As bad as I am about this stuff, one thing Pharo has WAY over Squeak is that the options are manageable. I've found a lot just by poking around in Pharo where the much larger menus in Squeak are overwhelming... On Sun, May 13, 2012 at 11:37 AM, Guillermo Polito <guillermopolito@gmail.com> wrote:
There is a finder plugin for nautilus also :).
On Sun, May 13, 2012 at 8:29 PM, blake <dsblakewatson@gmail.com> wrote:
Cool! Thanks!
On Sun, May 13, 2012 at 11:20 AM, Benjamin <benjamin.vanryseghem.pharo@gmail.com> wrote:
So just find any text area (inspector, workspace, code browser ) type the selector you are looking for (here renderContentOn:) then select the selector and do cmd+m for implementors, cmd+n for senders
It should do what you want :)
Ben
On May 13, 2012, at 8:11 PM, blake wrote:
On Sun, May 13, 2012 at 10:54 AM, Benjamin <benjamin.vanryseghem.pharo@gmail.com> wrote:
I don't get it I think ...
You want to retrieve the classes that implements renderContentOn [snip]
This is what I want. I don't want to have to find a class that implements renderContentOn first, and then go to the renderContentOn method, right-click and select "implemenors of".
Happens to me all the time. I was trying to find an "openInWorld" versus an "openInWindow" versus various "line" methods.
in the case you do not know a method containing a call to this selector ?
I don't understand this half of your sentence. I can't just open up a method, put the selector in and search for that, can I? (If I can, it's not obvious how.)
participants (3)
-
Benjamin -
blake -
Guillermo Polito