限制查询某个包裹的发件人
我知道有灵魂。但也许 Pharo 可以在不使用任何附加软件包的情况下执行以下操作:如何将发件人和实施者的搜索限制为某个类别?例如:我想在 OmniBrowser 中查看compile: 的所有发件人。
更一般地说,您将如何找到从 OmniBrowser 调用编译的位置? (我大致记得一些特殊的代码文本窗格负责编译器调用,但忘记了细节。)
I know there's SOUL. But perhaps Pharo can do the following without any additional packages: How can I restrict searches for senders and implementers to a certain category? Like: I want to see all senders of compile: in OmniBrowser.
More generally, how would you go and find the spot where compilation is invoked from OmniBrowser? (I roughly remember that some special code text pane was responsible for the compiler invocation, but forgot the details.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
OBClassDefinition
或OBMethodDefinition
的方法accept:notifying:
。accept:notifying:
ofOBClassDefinition
orOBMethodDefinition
.这很容易。 Pharo 附带了所谓的重构浏览器,它有很多东西,而不仅仅是重构。要执行您想要的操作,请执行以下操作:
这将打开一个新窗口,其中包含该范围内的所有类(在本例中为特定类别)。然后,例如,如果您搜索发件人,它将仅在该范围内。
干杯
It is easy. Pharo comes with what it is called the Refactoring Browser, which has a lot of stuff, not only refactors. To do what you want, do:
That will open a new windows with all the classes of that scope (a particular category in this case). Then, if you search for senders for example, it will be only in that scope.
Cheers