Re: Bug ID 5927392: XCODE must be able show C++/ObjC overloaded methods in a window as CodeWarrior
Re: Bug ID 5927392: XCODE must be able show C++/ObjC overloaded methods in a window as CodeWarrior
- Subject: Re: Bug ID 5927392: XCODE must be able show C++/ObjC overloaded methods in a window as CodeWarrior
- From: Ruslan Zasukhin <email@hidden>
- Date: Thu, 15 May 2008 22:37:06 +0300
- Thread-topic: Bug ID 5927392: XCODE must be able show C++/ObjC overloaded methods in a window as CodeWarrior
On 5/15/08 7:58 PM, "David Ewing" <email@hidden> wrote:
>>> Let you have in project
>>>
>>> class A with subclasses A1, A2, A3, ...
>>> all they have method Execute()
>>>
>>> class B with subclasses B1, B2, B3, ...
>>> all they have *also* method Execute()
>>>
>>> So dream is:
>>>
>>> if I am I the class B2, and I select method Execute() and do
>>> Option-Click I get new window immediately which show me
>>>
>>> B::Execute()
>>> B1::Execute()
>>> B2::Execute()
>>> B3::Execute()
>
> Is it actually appropriate to list the B1 and B3 methods here?
YES
> I wouldn't think so.
Sorry, this is wrong. I will explain sense of this again below.
> Is that what CW would do?
Yes, although CodeWarrior do this not best:
it show ALL METHODS with such name, i.e. Methods form An classes also.
> If it is, is that better
> than listing the two possible methods?
David,
Idea of this feature is next:
* you have some hierarchy of classes.
For example we have classes in the Valentina Database engine
I_Field
I_Field_String
Field_Imp
Field_String
Field_VarChar
Field_Text
* these classes have some overloaded methods. For example WriteToDisk()
* during development often, C++ developer may need change FAMILY of such
overloaded methods. Right? May be change interface of method. May be change
logic. Usually if you change something such in the Field_Imp, you need also
check all such overloaded methods down to hierarchy of classes to see if
they also must be corrected.
And to resolve this task, the dream is described above.
Option+click on method name, and I get NEW WINDOW
with 2 panes.
* On top pane just list of methods.
* On bottom pane editor of this method.
Dave, this is very handy feature. Even it was fine in CW.
We did have strong Visual C++ developers which have pray on this feature of
CW.
I can say that without this feature in XCODE (and Visual C++ btw) we have
few times have stick when developer do mistake not updating all overloaded
methods, just because he do not have easy way do this...
I believe that it is possible solve this task in the XCODE, because it have
database of symbols.
*** Also note, that on default this window should show only methods of
CLICKED class hierarchy... But still must be menu to show all methods with
such name of all classes. Or switch to other hierarchy.
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden