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
 Include source file in hover information
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

grandchain
Junior Member

United Kingdom
22 Posts

Posted - Dec 17 2008 :  08:51:35 AM  Show Profile  Reply with Quote
Hi,

I often find myself hovering over a function or macro (C++) to try to find out which file it is defined in. This information isn't there, so I have to click on the symbol and then go to definition.

It would be really nice if the tooltip could include the header file(s) it's defined in as well as the prototype and header comment.

Cheers,

Ian

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Dec 18 2008 :  12:33:31 PM  Show Profile  Reply with Quote
VA will show you comments in tooltips if you turn on:

VA Options -> Advanced -> Display -> Display comments from source files when available

Out of interest why do you want to know which file something is defined in? Is this because you want to add a #include to make the code work? Or some other reason?

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

grandchain
Junior Member

United Kingdom
22 Posts

Posted - Dec 19 2008 :  02:23:30 AM  Show Profile  Reply with Quote
> Is this because you want to add a #include to make the code work?

That's usually it. I've used a function, VisualAssist has helped me get the name right, but I can't remember which of the many headers it's hiding in and now the compiler's complaining...

> VA will show you comments in tooltips if you turn on:
> VA Options -> Advanced -> Display -> Display comments from source files when available

That's what I'm already using and would like extended.

Cheers,

Ian
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Dec 19 2008 :  11:26:47 AM  Show Profile  Reply with Quote
We are working on a feature to suggest the required #include statement for a given symbol:

case=226

which should help here

The comments in tooltips, what do you mean by extended? Do you simply mean adding the file name, or do you mean that you have cases where there are comments that are not showing up?

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

grandchain
Junior Member

United Kingdom
22 Posts

Posted - Dec 19 2008 :  6:20:53 PM  Show Profile  Reply with Quote
quote:
Originally posted by feline

We are working on a feature to suggest the required #include statement for a given symbol:



Excellent!

quote:

The comments in tooltips, what do you mean by extended? Do you simply mean adding the file name, or do you mean that you have cases where there are comments that are not showing up?



Just adding the file name, as in the first post.

Thanks,

Ian
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jan 27 2009 :  10:23:15 PM  Show Profile  Reply with Quote
case=226 is implemented in build 1715
Hover over an unrecognized symbol and choose "Add include xxxx" from the refactoring context menu.


Whole Tomato Software, Inc.
Go to Top of Page

grandchain
Junior Member

United Kingdom
22 Posts

Posted - Jan 28 2009 :  04:09:57 AM  Show Profile  Reply with Quote
quote:
Originally posted by support

case=226 is implemented in build 1715
Hover over an unrecognized symbol and choose "Add include xxxx" from the refactoring context menu.


That's brilliant, thanks. I've got 1715 installed now so I'll give it a try.

Cheers,

Ian
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