Author |
Topic |
|
LRBni
New Member
5 Posts |
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 |
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
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. |
Edited by - accord on Dec 17 2013 4:53:39 PM |
|
|
LRBni
New Member
5 Posts |
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 :-) |
|
|
|
Topic |
|
|
|