Page 1 of 1

Ctrl-<num> LookUp

Posted: Fri Aug 07, 2009 10:59 am
by ConvertFromOldNGs
by Tim M >> Sun, 7 Sep 2008 23:55:52 GMT

When I press Ctrl+1 after an object I see its properties and when I press Ctrl+1 after the class of the object I can see the class properties all correctly. When I do ClassName:: then Ctrl+1 I need to see the properties that I would see if I typed in an object reference and pressed Ctrl+1 not the class name. I hope this is easy enough to understand.

Could we have one of the unused numbers to see valid casts, although not that important.

Finally it would be great if Ctrl+1 works once I have already started typing as this would be a lot quicker.

All of the above also applies for methods, constants etc.

Re: Ctrl-&lt;num> LookUp

Posted: Fri Aug 07, 2009 10:59 am
by ConvertFromOldNGs
by Allistar >> Mon, 8 Sep 2008 0:13:54 GMT

Even better - Ctrl-1, 2 and 3 should be aware of "protected" methods and the context of the current method. If I am in a method on ClassA and I do
a "ctrl-1" on a variable of type ClassB, I don't want to see protected members of ClassB (unless ClassB is a subclass of ClassA). The workaround I see a lot of people employ is to prefix protected property and method names with a "z". In my opinion that's an ugly hack for what should be a simple issue to fix.
--
A.

Re: Ctrl-&lt;num> LookUp

Posted: Fri Aug 07, 2009 10:59 am
by ConvertFromOldNGs
by Tim M >> Mon, 15 Sep 2008 0:58:04 GMT

Yeah I think that would also be great (not sure about better). Both should be new changes that should happen before 6.3 as they should have been that way to begin with.