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
 No tooltip on variables
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

badson
New Member

5 Posts

Posted - Mar 16 2011 :  07:17:13 AM  Show Profile  Reply with Quote
Using VS 2010 I get no tooltips when I hover over a variable name (in any language - c++ native\\cli\\c#).
For example:

int myvar = 0;
myvar = myvar + 10;

Hovering over myvar does not pop up a tooltip showing it is an int.
In C# when I have VAX disable the intellisense pops up the type when I hover over it. Once I enable VAX nothing pops up when I hover over it.
In C++ I believe there is no intellisense in VS2010, but neither is there any in VAX.
Autocomplete and function definitions do pop up, but no variable definitions.

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Mar 16 2011 :  12:56:58 PM  Show Profile  Reply with Quote
Which version of VA are you using?

Are you working in C++ or CLI C++? VS2010 provides intellisense in C++, but not in CLI C++. VA provides intellisense in both languages.

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

badson
New Member

5 Posts

Posted - Mar 16 2011 :  2:01:42 PM  Show Profile  Reply with Quote
I'm using both C++ and CLI C++ and don't have it in either.
I'm using the latest trial from the site.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Mar 16 2011 :  11:06:24 PM  Show Profile  Reply with Quote
Can you please create a new, default C++ solution, and see if you get the expected tooltips there?

I am seeing the tooltips here on my test system.

Can you please go to:

VA Options -> System Info -> Copy Info

and paste the details (from the clipboard) into your reply. This will give us the basic information about your setup.

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

badson
New Member

5 Posts

Posted - Mar 17 2011 :  09:02:18 AM  Show Profile  Reply with Quote
I created a new C++ solution and the tooltips work in that project. Just not my current project. Not sure if it matters, but my current project was created before installing VA. Testing some other projects made before installing VA has the same result of no tooltips. Testing some other projects made after installing VA seem to all have tooltips.
Here is the System Info:
VA_X.dll file version 10.6.1842.0 built 2011.02.03
DevEnv.exe version 10.0.30319.1 Professional
msenv.dll version 10.0.30319.1
Comctl32.dll version 6.10.7600.16385
Windows 7 6.1 Build 7600
8 processors (x86-64;
WOW64)

Platform: Project defined
Stable Includes:
C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\PlatformSDK\\include;
C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\PlatformSDK\\common\\include;
C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\include;
C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\include;
C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include;

Other Includes:

Stable Source Directories:
C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\src\\mfc;
C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\src\\atl;
C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\crt\\src;

Go to Top of Page

badson
New Member

5 Posts

Posted - Mar 17 2011 :  09:42:46 AM  Show Profile  Reply with Quote
Also, I just moved the project to another folder and now the tooltips in the native C++ project are working. But the C++ cli project in the same solutution still has no tooltips. The C# project in the same solution does have tooltips.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Mar 17 2011 :  5:20:04 PM  Show Profile  Reply with Quote
I am glad that moving the C++ project to a different directory has helped, but I am not sure why the original directory was causing problems.

For C++ CLI can you try turning on the following VA options:

VA Options -> Advanced -> Display -> Display comments from source files when available
VA Options -> Advanced -> Display -> Enable automatic Quick Info ToolTips

does this make any difference?

This tells VA to show tooltips its self, automatically, when you hover the mouse over something.

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

badson
New Member

5 Posts

Posted - Mar 18 2011 :  10:22:24 AM  Show Profile  Reply with Quote
Thank you. Setting those options fixed the 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