Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 'Create Declaration' - Minor bug report

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
MrDoomMaster Posted - May 14 2007 : 7:37:14 PM
Before I mention the bug, I want to point out that this in no way prevents compilation of the auto-generated code. However, it is my opinion that just because the code compiles doesn't make this a feature request.


1) Create a header and CPP file with the same name. Example: foo.h and foo.cpp
2) In foo.cpp, paste the following code:
namespace bar
{
	void foo::DoSomething()
	{
	}
}


3) In foo.h, paste the following code:
namespace bar
{
	class foo
	{
	};
}


4) In foo.cpp, hover your mouse cursor over the function "DoSomething()" and click "Create Declaration"
5) You should see the following results in the foo.h file:
namespace bar
{
	class foo
	{

		void foo::DoSomething();
	};
}


The red part above shouldn't be there. Note that this does not happen if the namespace doesn't exist.

This is not a high-priority bug obviously, but it's just one of those minor annoyances that prevents me from using the feature extensively.

EDIT:
I'm using build 1555, Visual Studio 2005
5   L A T E S T    R E P L I E S    (Newest First)
support Posted - Sep 25 2013 : 4:39:41 PM
case=6593 nested namespace issue is fixed in build 2001.
support Posted - Jun 03 2013 : 2:05:59 PM
case=6593 is fixed in build 1940
feline Posted - Nov 12 2010 : 6:13:21 PM
Unfortunately no progress yet. This is down as a fairly high priority bug, but currently no estimate on when it will be fixed.
xMRi Posted - Nov 12 2010 : 03:49:32 AM
I still see this problem.
Is it fixed?

I just have the current beta build 1836.
feline Posted - May 15 2007 : 08:26:06 AM
I am seeing the same effect here. Thank you for the clear description.

case=6593

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000