Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Backward completion
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Erik Olofsson
Tomato Guru

111 Posts

Posted - Jul 12 2006 :  2:38:37 PM  Show Profile  Reply with Quote
Consider the following:

class CTest1
{
public:
	class CInternal
	{
	public:
	};
};

class CTest2
{
public:
	class CInternal
	{
	public:
	};
};

int main()
{
	CInternal
}


I often find myself wanting to access classes contained in other classes. It would be nice if when you stood behind CInternal and pressed ctrl+space you would get a completion list with:
CTest1::CInternal
CTest2::CInternal


Cutting Edge Project Management
http://www.hansoft.se

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Jul 12 2006 :  6:44:23 PM  Show Profile  Reply with Quote
the main problem i see with this is that VA does not know you want help with CInternal. pressing CTRL-SPACE before a word in VS2003 brings up a long list of all sorts of things, probably from the IDE its self.

to me it seems more logical to issue a command on CInternal its self, to say "find class", or something like that.

looking in FSIW VA knows about the two classes, so in theory it has the information required to list the parent classes.

how come this is something you are often doing? i use classes inside classes a lot myself, but i don't think i have ever started with the inside class and then had to fill in the parent class name.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000