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
 Technical Support
 'Create Declaration' - Minor bug report
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MrDoomMaster
Tomato Guru

251 Posts

Posted - May 14 2007 :  7:37:14 PM  Show Profile  Reply with Quote
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

Edited by - MrDoomMaster on May 14 2007 8:23:25 PM

feline
Whole Tomato Software

United Kingdom
17384 Posts

Posted - May 15 2007 :  08:26:06 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=6593

zen is the art of being at one with the two'ness
Go to Top of Page

xMRi
Tomato Guru

Germany
289 Posts

Posted - Nov 12 2010 :  03:49:32 AM  Show Profile  Reply with Quote
I still see this problem.
Is it fixed?

I just have the current beta build 1836.

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17384 Posts

Posted - Nov 12 2010 :  6:13:21 PM  Show Profile  Reply with Quote
Unfortunately no progress yet. This is down as a fairly high priority bug, but currently no estimate on when it will be fixed.

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jun 03 2013 :  2:05:59 PM  Show Profile  Reply with Quote
case=6593 is fixed in build 1940
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Sep 25 2013 :  4:39:41 PM  Show Profile  Reply with Quote
case=6593 nested namespace issue is fixed in build 2001.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2021 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000