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
 [1727] Listbox content problems in VS2008
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

qiul
New Member

2 Posts

Posted - Aug 06 2009 :  10:20:31 PM  Show Profile  Reply with Quote
When I am writing a function of class A,the member listbox display nothing.(VS 2008)
For example:

Code in A.h:

#ifndef __A_H__
#define __A_H__

namespace tq
{
	class A
	{
	public:
		void PublicFunc();
	protected:
		void ProtectedFunc();
	private:
		void PrivateFunc();
	}
}
#endif // __A_H__


Problem 1:
Code in A.cpp:

#include "A.h"

using namespace tq;

void A::PublicFunc()
{
	this->
}




I expect after I write down "this->", the member listbox will display PublicFunc,ProtectedFunc And PrivateFunc.

Problem 2:
Code in A.cpp:

#include "A.h"

using namespace tq;

void A::PublicFunc()
{
	Protected
}




I expect after I write down "Protected" or "Private", the listbox will dispaly "ProtectedFunc" or "PrivateFunc", just like when I write down "Public", it will display "PublicFunc".

Edited by - qiul on Aug 06 2009 10:56:25 PM

accord
Whole Tomato Software

United Kingdom
3279 Posts

Posted - Aug 07 2009 :  5:40:24 PM  Show Profile  Reply with Quote
Problem 1: I am seeing the same effect here. Thank you for the clear description.

case=4135

Problem 2: I wasn't able to reproduce this problem. I'm seeing the right member with your snippet:


Can you please try to rebuild your symbol databases to see if it makes any difference?

VA Options -> Performance -> Rebuild

If it doesn't, then can you please try to create a new test project to see if the suggestion works there? There may be a difference in your main project that may confuse the parser.
Go to Top of Page

qiul
New Member

2 Posts

Posted - Aug 10 2009 :  01:49:04 AM  Show Profile  Reply with Quote
Problem 2:
After I rebuild the symbol databases, VA works as I expect.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Feb 02 2016 :  7:55:08 PM  Show Profile  Reply with Quote
case=4135 is fixed in build 2089.
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