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
 auto complete after "." not working
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

eyal.ga
New Member

3 Posts

Posted - Feb 12 2008 :  02:15:53 AM  Show Profile  Reply with Quote
Hi,
With VS 2005, VA x, in a simple C++ COM project,
the auto-compeltion won't work.
for exanple:
MyCLass x;
x. (nothing happens although MyClass is in blue color and can be nevigateg).
How can I make this work?
Thanks,
Eyal.

Edited by - eyal.ga on Feb 12 2008 02:35:40 AM

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Feb 12 2008 :  1:51:14 PM  Show Profile  Reply with Quote
What happens if you press CTRL-SPACE?

If you show VA View, then place keyboard focus back into the editor, and now hover the mouse over the type MyClass is the correct information displayed?

Does restarting the IDE have any effect on this problem?

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

eyal.ga
New Member

3 Posts

Posted - Feb 12 2008 :  4:28:23 PM  Show Profile  Reply with Quote
Hovering the mouse over the class type works and the correct information is displayed in the VA View panel.
Restarting the IDE (or the machine) does not help.
I've noticed that ALL the variables instances (like x in my example) are marked in red under-line and when hovering the mouse on them a message "Refactoring not available on symbol" is shown. I guess this is the source of the problem.
Thanks,
Eyal.

Edited by - eyal.ga on Feb 12 2008 4:29:38 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Feb 12 2008 :  4:54:32 PM  Show Profile  Reply with Quote
The variables should not be underlined like that. If you add:

static void testGeneralStuff()
{
	int banana = 2;
	int orange = 1;
}

at the very top of one of your files what happens? Are the variables coloured correctly or are they underlined as mistyped symbols?

Which IDE and version of VA are you using?

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

eyal.ga
New Member

3 Posts

Posted - Feb 13 2008 :  03:22:26 AM  Show Profile  Reply with Quote
I added your code as you asked and it looks OK. The variables are NOT underlined as mistyped symbols.

BTW - regarding your previous question - if I put the cursor on a variable which is faulty underlined as a mistype symbol and press CTRL+Space then I see the class declaration and the header file name.

I'm using:

Visual Assist X version: 10.4.1626.0 built 2008.01.17

Microsoft Visual Studio 2005 Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework Version 2.0.50727
Installed Edition: Professional
Microsoft Visual C# 2005 77626-009-0000007-41151
Microsoft Visual C++ 2005 77626-009-0000007-41151
Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack 1 (KB926601)

Thanks
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Feb 13 2008 :  08:44:30 AM  Show Profile  Reply with Quote
If you move this test function to further down the file does it still work correctly?

If you just add simple variables like this to one of your functions that shows the problem what happens? Are the variables shown correctly or are they underlined?

Obviously something is going wrong, but we need to find the trigger.

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