Hi Joachim,It seems like you answered your own question when you stated "I can hardly believe I never had this problem before".I don't think your alone in this, because I don't think its a very common query. Or if it is, I can't recall the last time I neededto locate, from a global scope, a class on the basis of a property name...be it a instVar, classVar or classInstVar.I'm not saying its never happened...and each to their own style of thinking of course, but it just doesn't seem like a very common query to meand therefore not something we've been asked to add to the menus.It seems reasonable that not every combination of query Object meta-state is going to be captured in menu items.If we go down this route...I think the better solution is to have a more generic query construction capability that allows for queryingany combination of state such as instVar, classVar, classInstVar names or counts, shape (i.e. bytes, words, longs, pointer), byte size and so forth ....There's lots of others that I could come up with.But, in the interest of being helpful, I provide the following which I hope will get you the information you need.| result findMe instVarQuery classVarQuery classInstVarQuery query |findMe := 'instVar'."Place your selected query block in the 'query' var"instVarQuery := [:cls | (cls allInstVarNames indexOf: findMe) > 0].classVarQuery := [:cls | cls classPool includesKey: findMe].classInstVarQuery := [:cls | instVarQuery value: cls class].query := instVarQuery.result := System classHierarchyRootsinject: OrderedCollection newinto: [:col :root | root withAllSubclassesDo: [:cls | (query value: cls) ifTrue: [col add: cls asClass]]. col].result inspect
HI Seth,first of all, thanks for your code example. Works well and is much faster than "Methods including text".I agree this is not a common search. And the menus in VAST are presenting a vast selection of options, so I fully agree we don't want or need another battery of search options in the menus.My comment was not so much a complaint about a missing feature. I mostly wanted to share my surprise about the fact I almost never needed it before (or maybe did, but can't remember) and that here really is no way to do it (unless with a code snippet) although Smalltalk allows for such queries easily - as you just proved with your code.Your code is a nice prototype for a system-wide, multi-purpose search field ;-)Again, thanks a lot!
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk...@googlegroups.com.
To post to this group, send email to va-sma...@googlegroups.com.
Visit this group at https://groups.google.com/group/va-smalltalk.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/9d9cdc84-dd38-4f4d-9f8a-316631b73027%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk...@googlegroups.com.
To post to this group, send email to va-sma...@googlegroups.com.
Visit this group at https://groups.google.com/group/va-smalltalk.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/9d9cdc84-dd38-4f4d-9f8a-316631b73027%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk...@googlegroups.com.
To post to this group, send email to va-sma...@googlegroups.com.
Visit this group at https://groups.google.com/group/va-smalltalk.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/928171e6-8f77-42b5-9ed7-03949424f586%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk+unsubscribe@googlegroups.com.
To post to this group, send email to va-sma...@googlegroups.com.
Visit this group at https://groups.google.com/group/va-smalltalk.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/9d9cdc84-dd38-4f4d-9f8a-316631b73027%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk...@googlegroups.com.
To post to this group, send email to va-sma...@googlegroups.com.
Visit this group at https://groups.google.com/group/va-smalltalk.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/9d9cdc84-dd38-4f4d-9f8a-316631b73027%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk...@googlegroups.com.
To post to this group, send email to va-sma...@googlegroups.com.
Visit this group at https://groups.google.com/group/va-smalltalk.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/928171e6-8f77-42b5-9ed7-03949424f586%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk...@googlegroups.com.
To post to this group, send email to va-sma...@googlegroups.com.
Visit this group at https://groups.google.com/group/va-smalltalk.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/b96faa3e-9843-4ee3-903c-3c1ed4b237f7%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk+unsubscribe@googlegroups.com.
To post to this group, send email to va-sma...@googlegroups.com.
Visit this group at https://groups.google.com/group/va-smalltalk.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/9d9cdc84-dd38-4f4d-9f8a-316631b73027%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk+unsubscribe@googlegroups.com.
To post to this group, send email to va-sma...@googlegroups.com.
Visit this group at https://groups.google.com/group/va-smalltalk.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/928171e6-8f77-42b5-9ed7-03949424f586%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk...@googlegroups.com.
To post to this group, send email to va-sma...@googlegroups.com.
Visit this group at https://groups.google.com/group/va-smalltalk.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/9d9cdc84-dd38-4f4d-9f8a-316631b73027%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk...@googlegroups.com.
To post to this group, send email to va-sma...@googlegroups.com.
Visit this group at https://groups.google.com/group/va-smalltalk.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/928171e6-8f77-42b5-9ed7-03949424f586%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk...@googlegroups.com.
To post to this group, send email to va-sma...@googlegroups.com.
Visit this group at https://groups.google.com/group/va-smalltalk.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/b96faa3e-9843-4ee3-903c-3c1ed4b237f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk...@googlegroups.com.
To post to this group, send email to va-sma...@googlegroups.com.
Visit this group at https://groups.google.com/group/va-smalltalk.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/5ada5326-be19-4f67-82d5-f591ceaa16ec%40googlegroups.com.