No code completion on inherited class methods?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

No code completion on inherited class methods?

TimM-3
When I am entering class methods - I notice the completion list doesn't show
me completions for super class, class methods?

e.g.

my class UnaryConstraint has a class method: #contrainedTo:

my subclass BlockConstraint when defining the method #with: and typing:
    ^self con<I get no compltion here, and have to type the whole thing in?>


Tim


Reply | Threaded
Open this post in threaded view
|

Re: No code completion on inherited class methods?

Blair McGlashan-3
"TimM" <[hidden email]> wrote in message
news:dmuq6s$j4f$[hidden email]...

> When I am entering class methods - I notice the completion list doesn't
> show me completions for super class, class methods?
>
> e.g.
>
> my class UnaryConstraint has a class method: #contrainedTo:
>
> my subclass BlockConstraint when defining the method #with: and typing:
>    ^self con<I get no compltion here, and have to type the whole thing
> in?>

Yes, you're right. It always auto-completes as if on the instance side. #

I am constantly amazed at what will slip through beta testing and yet be
spotted a week or two after release, sigh....

(At a quick glance I would say that SmalltalkWorkspace>>selfClass should
simply return 'self parseContext' to fix this, but that is almost completely
untested).

Regards

Blair


Reply | Threaded
Open this post in threaded view
|

Re: No code completion on inherited class methods?

TimM-3
> Yes, you're right. It always auto-completes as if on the instance side. #
>
> I am constantly amazed at what will slip through beta testing and yet be
> spotted a week or two after release, sigh....


Now I feel guilty for not spotting it back then... I think its a reflection
of being a good boy and spending more time on the instance side and limiting
my class side programming to ^super new initialize: type stuff (still I
probably should have spotted it).

Tim