Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 ALT-TAB for functions:History of visited functions

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
JochenBaier Posted - Apr 26 2017 : 4:04:54 PM
The "ALT-TAB" (switching between used functions) for Visual Studio:

If often jump from on function to on other (using F12 or ALT-G), or using the ALT-SHIFT-F, or searching etc.

So i had the idea to visualize the recorded way points. Probably with the granularity of function so no way-points inside a function.

For example ALT-SHIFT-M could show the function history marking the
current function bold:

function_i_was_before()
function_i_am_now()
function_i_was_in_the_future()

with this feature i could directly jump to a function without using navigate back all recorded way-points.
7   L A T E S T    R E P L I E S    (Newest First)
feline Posted - May 06 2017 : 3:40:48 PM
So long as you feel this will do enough to be helpful enough. You have an interesting idea here, but I am not quite sure how it would work in reality.
JochenBaier Posted - May 06 2017 : 08:55:29 AM
after thinking about this together with you, I think the got old NavigateBack function will do the job also. So no new functionally needed from my side.

thanks jochen
feline Posted - May 02 2017 : 10:07:25 AM
This makes sense, and as you say, the other methods are not going to work so well for you. Thinking about this, you may have more than one jump point inside a given function, so the simple solution is to jump to the top / the declaration line, for the function. Is this going to work, or is loosing the actual point in the function where the jump point is located going to matter to you?
JochenBaier Posted - May 01 2017 : 3:04:53 PM
Its both, reviewing and editing, mostly during finding bugs. So only the depth of 5-10 functions would be interesting.
Bookmarks and hashtags are too much work since it would only be used for seconds or minutes.

An alternative for showing the history as a list would be a keyboard shortcut which jumps to the first waypoint which is not in the current functions. It will jump to the caller of the current function. With such a shortcut i can jump up if i am finished editing a function.
feline Posted - Apr 27 2017 : 3:26:04 PM
Is there anything that marks out the functions you want to jump back to? Are these functions you are editing? Just functions you are reviewing? Tracking all functions you move through, to a depth of X, is all well and good, but if you only want 2 or 3 out of 20 functions, then this list seems like it is providing a fair bit of visual overhead.

Personally, when I want to jump between two or three specific functions, since I am investigating something, I either use IDE bookmarks - works well in a single file, or VA Hashtags, since you can use Alt-g on the tags to jump between instances of the same tag. But I don't know how well this idea will work of scale for what you are doing.
JochenBaier Posted - Apr 27 2017 : 12:23:40 AM
Hi feline,

MRU comes close but: it is only populated using the the VA View not by movements in code,
it contains all kind of symbols which makes it hard to read, the VA View must be always visible which occupies a lot of space, the entries are only selectable by first letter and not with incremental search (like ALT-M)

Jochen
feline Posted - Apr 26 2017 : 4:24:44 PM
If you show VA View, and right click in the top section, you can turn on listing Modified methods and files. This is the Most Recently Used list, which is designed to track both functions and files:

https://wholetomato.fogbugz.com/default.asp?W222

Not quite the method you are thinking of, but this should be useful enough.

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