Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 #if #endif ... - tooltips and highlights

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
LRBni Posted - Dec 17 2013 : 08:53:11 AM
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
2   L A T E S T    R E P L I E S    (Newest First)
LRBni Posted - Dec 18 2013 : 02:57:35 AM
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 :-)
accord Posted - Dec 17 2013 : 4:53:10 PM
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000