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
 Prefer project files for suggestions
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

delepster
New Member

3 Posts

Posted - Aug 06 2008 :  09:01:07 AM  Show Profile  Reply with Quote
I am not sure if this is already available, but it would be very useful to prefer project files over additional includes (e.g. Windows Platform SDK files) when it comes to Visual Assist to make suggestions.

For example, if a CString class is defined both in the project and in the SDK, Visual Assist makes suggestions according to the SDK file instead of the project's

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Aug 06 2008 :  1:56:47 PM  Show Profile  Reply with Quote
If two different classes with the same name are parsed by Visual Assist, it will list the members from both classes.
Do you see the members defined in the SDK and in your project in the same listbox?

So your suggestion is to prefer members defined in your project, or you don't see members from your project's CString at all?
Go to Top of Page

delepster
New Member

3 Posts

Posted - Aug 07 2008 :  08:41:05 AM  Show Profile  Reply with Quote
1) I _usually_ see the members from both classes. Sometimes I only see the suggestions from the SDK's. Sometimes hitting ctrl+space results in the list box to show the project's members/methods (you gotta hate those _sometimes_ use cases)

2) I can further refine my suggestion by stating that if the list box could take the namespace into account, that would be great. That would reflect how C++ usually resolves class name clashes
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Aug 07 2008 :  2:57:39 PM  Show Profile  Reply with Quote
Point 1: Do you see a patten about how to break this? So can you reproduce this effect? Members from both classes should be displayed every time.

Point 2: For me it is working, I tested with this code:

namespace Apple {
	class testclass {
		int qqq;
	};
}

namespace Banana {
	class testclass {
		int www;
	};
}

void TestFunc()
{
	Apple::testclass a;
	Banana::testclass b;
	a.qqq;
	b.www;
}

I see qqq in the listbox after a.| and www after b.|

Edited by - accord on Aug 07 2008 4:27:04 PM
Go to Top of Page

delepster
New Member

3 Posts

Posted - Aug 08 2008 :  10:46:25 AM  Show Profile  Reply with Quote
Thanks for your reply. I will work on finding a specific pattern for this issue.
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