top of page
John

Tracking your cursor location history in the VBE

When developing code in any modern IDE (integrated development environment), you will always find that your cursor (caret) location is tracked as you navigate around your code and that you will have an option to 'go back' to where you were previously and then an option to 'go forward' to where you where before you 'went back'. Of course, out-of-the-box, the VBE doesn't do this (thanks Microsoft!) … but it does with VBE_Extras.

 

The option to 'go back' is in the main menu and the code window menu ('History – back' within the 'Goto' sub-menu) as well as being in the tool bar. Also it has a keyboard shortcut which, by default, is Ctrl + - (that is the Ctrl key and the minus key).


History - go back

 The option to 'go forward' is in the main menu and the code window menu ('History – forward' within the 'Goto' sub-menu) as well as being in the tool bar. Also it has a keyboard shortcut which, by default, is Ctrl + Shift + - (that is the Ctrl key and the Shift key and the minus key).


History - go forward

 There is also an option to view each of the most recent locations you navigated to as a list in the toolbar so that you can select the location you require. This also has a keyboard shortcut which, by default, is Alt + - (that is the Alt key and the minus key).


History - list all

 Want to see it in action? See the VBE_Extras videos page, look for the "Cursor 'History'" video.

0 comments

Comentarios


bottom of page