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
 #if #endif ... - tooltips and highlights
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

LRBni
New Member

5 Posts

Posted - Dec 17 2013 :  08:53:11 AM  Show Profile  Reply with Quote
Here is the list of directives that would be affected:
#if #endif #else #elif #ifdef #ifndef

When hovering the cursor over one of those directives:
a) highlight the matching directive (options: always, never, when in view), and/or:
b) show the matching directive in a tooltip (options: always, never, when not in view)

You could make the tooltip...
a) display the file and/or line number in a second row (the first row being the matching directive)
b) clickable or double-clickable, so it navigates to the matching directive

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Dec 17 2013 :  4:53:10 PM  Show Profile  Reply with Quote
The highlight and goto work in newer Visual Studios. If you go to before # and press ctrl+] it jumps to the matching part.

We are considering implementing the tooltip at some point:

case=73171

I tested the jump in VS2008 and it works, but the highlight need newer, maybe 2010? It surely works in 2013.

Edited by - accord on Dec 17 2013 4:53:39 PM
Go to Top of Page

LRBni
New Member

5 Posts

Posted - Dec 18 2013 :  02:57:35 AM  Show Profile  Reply with Quote
Thank you!

The highlights do work fine indeed, I was just thinking of adding some options to customize the behavior.

I didn't know about the shortcut though, thanks for the tip.

I can't wait to see the tooltip implemented :-)
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