in OmniBrowser 1.0a3, I can not see the extensions in the Package Browser. only selecting the '-- all --' category does display methods, but it actually display all methods, not the extension ones as one would expect.
it seems that this is unrelated to the bug I describe in another mail
Stef
On Jul 20, 2004, at 11:21 AM, Stéphane Rollandin wrote:
in OmniBrowser 1.0a3, I can not see the extensions in the Package Browser. only selecting the '-- all --' category does display methods, but it actually display all methods, not the extension ones as one would expect.
Hi Stéphane, can you give me a bit more information about what you're doing?
It may be that what you're seeing is the desired behaviour. The package browser specifically does not display extension methods that belong to *other* packages, only the package that you're browsing. So you'll only see extension methods in the classes that are part of the '-- extensions --' category.
Also, the categories that extension methods belong to are munged to hide the PackageInfo naming conventions. So if you put a method in '*mypackage-foo' it will show up in the 'foo' category.
Colin
Colin Putney wrote:
Also, the categories that extension methods belong to are munged to hide the PackageInfo naming conventions. So if you put a method in '*mypackage-foo' it will show up in the 'foo' category.
Ooh, does that mean that, if I move a class with *mypackage-foo method extensions into mypackage, the *mypackage- prefix will be removed for me? ;)
Julian
On Jul 21, 2004, at 2:06 AM, Julian Fitzell wrote:
Colin Putney wrote:
Also, the categories that extension methods belong to are munged to hide the PackageInfo naming conventions. So if you put a method in '*mypackage-foo' it will show up in the 'foo' category.
Ooh, does that mean that, if I move a class with *mypackage-foo method extensions into mypackage, the *mypackage- prefix will be removed for me? ;)
Well, that was the idea, although it hasn't been implemented...
in OmniBrowser 1.0a3, I can not see the extensions in the Package Browser. only selecting the '-- all --' category does display methods, but it actually display all methods, not the extension ones as one would expect.
Hi Stéphane, can you give me a bit more information about what you're doing?
It may be that what you're seeing is the desired behaviour. The package browser specifically does not display extension methods that belong to *other* packages, only the package that you're browsing. So you'll only see extension methods in the classes that are part of the '-- extensions --' category.
yes, that is the behavior I expect. while what I see are the categories (shortened) for the extensions of the package I'm browsing, but no corresponding methods when I select any one of these categories.
only when I select '-- all --' do I see methods in the right-most column, but then I get all the methods of the class I'm browsing, where I would expect to see all extension methods only (that is, the methods for all extension categories).
hope this makes sense
Stef
squeak-dev@lists.squeakfoundation.org