Code completion - show private members as well?

Hi there,

I like the way the "intention to change the visibility of a member if
needed" works, but I'd also like to have an option to show the private
members in the code completion drop-down even if not visible(rather than
having to fully type the name of the member in order to get the intention).
Is there a way to do that as of build 809?

Thx,
Andrei


2 comments
Comment actions Permalink

Hi All!

On Tue, 1 Apr 2003, Andrei Oprea wrote:

Hi there,

I like the way the "intention to change the visibility of a member if
needed" works, but I'd also like to have an option to show the private
members in the code completion drop-down even if not visible(rather than
having to fully type the name of the member in order to get the intention).
Is there a way to do that as of build 809?

It's not reasonable... For each object you'll have to deal with
finalize, clone, etc. and this dramatically increase the completion
lookup. So I don't think we will make such a change.

IK

0
Comment actions Permalink

It's not reasonable... For each object you'll have to deal with
finalize, clone, etc. and this dramatically increase the completion
lookup. So I don't think we will make such a change.


Well, you do deal with those when you type this. in the class itself, don't
you? Or don't I understand what you mean by dealing? If you mean show just
the ones the refactoring can be applied to and/or go up the class hierarchy
chain I can see where the overhead can occur, but I guess one could opt to
pay the price if one feels like using the feature.

And I wasn't thinking about making that the default behaviour, I was just
hoping you could tie it into one of the smart completion features and show
them only when a different key combination would be pressed (like
CtrlShiftSpace after the dot).

Well, it's a minor thing, anyway. And if it's just me that would find it
useful I guess it's not worth implementing it.

Andrei



0

Please sign in to leave a comment.