Back on "Go to Definition"
I'm using visual studio .Net 2003 and I found out this feature to Go to Definition. Just right click on the definition or a statement, then click Go to Definition to go to definition. Now I wanted to go back where I came from. Is that feature available? Help please?
Thanks in advance.
Re: Back on "Go to Definition"
I don't know about .NET, but to go back to where you started in VB6 it is Ctrl Shift F2
Incidentially, also in VB6, if you click on the Sub and hit Shift F2 it will take you to the Sub just like right clicking and clicking on Definition will.
Re: Back on "Go to Definition"
Quote:
Originally Posted by nebulom
I'm using visual studio .Net 2003 and I found out this feature to Go to Definition. Just right click on the definition or a statement, then click Go to Definition to go to definition. Now I wanted to go back where I came from. Is that feature available? Help please?
Thanks in advance.
I don't know any key combinations, but there is a navigation button in one of the toolbars up there, which lets you go back to where you were previously.
Re: Back on "Go to Definition"
Quote:
Originally Posted by mendhak
I don't know any key combinations, but there is a navigation button in one of the toolbars up there, which lets you go back to where you were previously.
:confused: Why would Microsoft NOT put something in .NET that is in VB6 (and is quite handy I might add.)
Re: Back on "Go to Definition"
I think this has something to do with code regions, as soon as you expand or collapse a region that counts as a "change". So if your definition is inside a currently closed region then this would cause problems with going back to where the last change was made.
As the visually advantaged amphibian said the feature is there, just under a different guise.
[garth]We fear change...[/garth]
Re: Back on "Go to Definition"
Quote:
Originally Posted by Hack
:confused: Why would Microsoft NOT put something in .NET that is in VB6 (and is quite handy I might add.)
You mean like being able to edit without re-starting? ;)
Re: Back on "Go to Definition"
Re: Back on "Go to Definition"
If your VS.Net profile were set to Visual Basic Developer, Ctrl+Shift+F2 should still work. (as Hack mentioned)
I'm too lazy to check it now, but I remember it from previously. Set mine to VS developer (or sth like that) and miss that jumping back shortcut