Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. shortcutkey

shortcutkey

Scheduled Pinned Locked Moved C#
question
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    fmardani
    wrote on last edited by
    #1

    I use F12 (right mouse click, GoToDefinition) to go to the Definition of a function. What key can be used to go back to the source please? Thanks

    M 1 Reply Last reply
    0
    • F fmardani

      I use F12 (right mouse click, GoToDefinition) to go to the Definition of a function. What key can be used to go back to the source please? Thanks

      M Offline
      M Offline
      Marc Clifton
      wrote on last edited by
      #2

      Well, if the definition is in a different source file, Ctrl+Tab will take you back. If it's in the same source file, set a bookmark first. There might be a keystroke to return you to your previous location, but I'm not aware of one. Marc

      Thyme In The Country

      People are just notoriously impossible. --DavidCrow
      There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
      People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith

      L 1 Reply Last reply
      0
      • M Marc Clifton

        Well, if the definition is in a different source file, Ctrl+Tab will take you back. If it's in the same source file, set a bookmark first. There might be a keystroke to return you to your previous location, but I'm not aware of one. Marc

        Thyme In The Country

        People are just notoriously impossible. --DavidCrow
        There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
        People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        CTRL/- goes to previous location ("navigate backward") and CTRL/SHIFT/- is "navigate forward" There are buttons for them on the "View" toolbar Such buttons can show tooltip including shortcut (enable thru Tools/Customize/Toolbars/Show ScreenTips on toolbars) :)

        Luc Pattyn

        M 1 Reply Last reply
        0
        • L Luc Pattyn

          CTRL/- goes to previous location ("navigate backward") and CTRL/SHIFT/- is "navigate forward" There are buttons for them on the "View" toolbar Such buttons can show tooltip including shortcut (enable thru Tools/Customize/Toolbars/Show ScreenTips on toolbars) :)

          Luc Pattyn

          M Offline
          M Offline
          Marc Clifton
          wrote on last edited by
          #4

          Luc Pattyn wrote:

          CTRL/- goes to previous location ("navigate backward") and CTRL/SHIFT/- is "navigate forward"

          Very cool! I'd tried a few keywords in the keyboard customization to see if anything came up, but "navigate" wasn't one of them. Marc

          Thyme In The Country

          People are just notoriously impossible. --DavidCrow
          There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
          People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups