Results 1 to 8 of 8

Thread: Back on "Go to Definition"

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2005
    Location
    Cebu
    Posts
    607

    Resolved 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.
    Last edited by nebulom; Sep 26th, 2005 at 08:48 PM.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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.

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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.
    Why would Microsoft NOT put something in .NET that is in VB6 (and is quite handy I might add.)

  5. #5
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    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]
    I don't live here any more.

  6. #6
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: Back on "Go to Definition"

    Quote Originally Posted by Hack
    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?
    My usual boring signature: Nothing

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2005
    Location
    Cebu
    Posts
    607

    Re: Back on "Go to Definition"

    Thanks guys. Here are the key shortcuts, btw. http://msdn.microsoft.com/library/de...ortcutkeys.asp

  8. #8
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    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
    Install and Configure Eclipse For both Java and PHP development
    Accessible Ajax/jQuery Forms Degrade gracefully with JavaScript Disabled

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width