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. The Lounge
  3. Accidentally Discovering Shortcuts

Accidentally Discovering Shortcuts

Scheduled Pinned Locked Moved The Lounge
visual-studioquestion
41 Posts 29 Posters 7 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.
  • J Jacquers

    I'm a fan of keyboard shortcuts and use them regularly with VS and VS code. One of them is shift+ctrl+d for Ghostdoc to add comments to a method. Today I accidentally pressed shift+ctrl+t and discovered the find file feature :) I should probably just have a look at the shortcut cheatsheet :-O I also recall activating a f.lux color scheme that turned my display a strange hue of pink iirc. That was a fun one to track down, since I didn't know that I caused it by pressing some hotkey combination. Have you found any cool / handy shortcuts by accident?

    R Offline
    R Offline
    rnbergren
    wrote on last edited by
    #5

    no, But my cat seems to find them all the time.

    To err is human to really elephant it up you need a computer

    P 1 Reply Last reply
    0
    • S Stuart Dootson

      THANK YOU!!! I've been looking for a Visual Studio equivalent to Visual Studio Code's Ctrl+P (Goto File) forever and you've shown it to me... Now I just need to remap it to Ctrl+P (I mean, who prints out their code?) and I'll be 💯happy.

      Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

      J Offline
      J Offline
      Jorgen Andersson
      wrote on last edited by
      #6

      There's a cheat sheet for that: https://visualstudio.microsoft.com/keyboard-shortcuts.pdf[^] And for Visual Studio Code: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf[^]

      Wrong is evil and must be defeated. - Jeff Ello

      1 Reply Last reply
      0
      • J jsc42

        I found a VS shortcut (don't know what it was) that lost half the VS Panes and scrambled the rest. I had to use the Window -> Reset Window Layout to get anything usable. Now, when I try to move / view panes, VS just crashes. I hope I never find that shortcut again.

        A Offline
        A Offline
        Andreas Mertens
        wrote on last edited by
        #7

        I wish there was an option to lock down the panes in VS so that they cannot accidentally be dragged from their position. I tend to be a mouse user more than shortcuts, and this tends to happen often enough to be annoying...

        J 1 Reply Last reply
        0
        • J Jacquers

          I'm a fan of keyboard shortcuts and use them regularly with VS and VS code. One of them is shift+ctrl+d for Ghostdoc to add comments to a method. Today I accidentally pressed shift+ctrl+t and discovered the find file feature :) I should probably just have a look at the shortcut cheatsheet :-O I also recall activating a f.lux color scheme that turned my display a strange hue of pink iirc. That was a fun one to track down, since I didn't know that I caused it by pressing some hotkey combination. Have you found any cool / handy shortcuts by accident?

          Richard Andrew x64R Offline
          Richard Andrew x64R Offline
          Richard Andrew x64
          wrote on last edited by
          #8

          I accidentally discovered that F11 in Chrome switches it to full screen. And only F11 will switch it back out of full screen. ESC doesn't do it!

          The difficult we do right away... ...the impossible takes slightly longer.

          J S 2 Replies Last reply
          0
          • J Jacquers

            I'm a fan of keyboard shortcuts and use them regularly with VS and VS code. One of them is shift+ctrl+d for Ghostdoc to add comments to a method. Today I accidentally pressed shift+ctrl+t and discovered the find file feature :) I should probably just have a look at the shortcut cheatsheet :-O I also recall activating a f.lux color scheme that turned my display a strange hue of pink iirc. That was a fun one to track down, since I didn't know that I caused it by pressing some hotkey combination. Have you found any cool / handy shortcuts by accident?

            R Offline
            R Offline
            Richard Deeming
            wrote on last edited by
            #9

            For Visual Studio 2017/2019, there's this handy extension[^] which shows you the shortcut assigned to any commands you don't invoke from a shortcut. (The VS2022 version is on the todo list[^].)


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            J 1 Reply Last reply
            0
            • J Jacquers

              I'm a fan of keyboard shortcuts and use them regularly with VS and VS code. One of them is shift+ctrl+d for Ghostdoc to add comments to a method. Today I accidentally pressed shift+ctrl+t and discovered the find file feature :) I should probably just have a look at the shortcut cheatsheet :-O I also recall activating a f.lux color scheme that turned my display a strange hue of pink iirc. That was a fun one to track down, since I didn't know that I caused it by pressing some hotkey combination. Have you found any cool / handy shortcuts by accident?

              S Offline
              S Offline
              Slacker007
              wrote on last edited by
              #10

              Jacquers wrote:

              recall activating a f.lux

              I originally read this as "flux capacitor" and I was like, "Holy crap" how do I do that!. Having a PC that can actually time travel would be amazing, both good and bad.

              J D 2 Replies Last reply
              0
              • R Richard Deeming

                For Visual Studio 2017/2019, there's this handy extension[^] which shows you the shortcut assigned to any commands you don't invoke from a shortcut. (The VS2022 version is on the todo list[^].)


                "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                J Offline
                J Offline
                Jacquers
                wrote on last edited by
                #11

                Cool, looks nice. I'll need to install that one once VS2022 support is done.

                1 Reply Last reply
                0
                • Richard Andrew x64R Richard Andrew x64

                  I accidentally discovered that F11 in Chrome switches it to full screen. And only F11 will switch it back out of full screen. ESC doesn't do it!

                  The difficult we do right away... ...the impossible takes slightly longer.

                  J Offline
                  J Offline
                  Jacquers
                  wrote on last edited by
                  #12

                  In most Windows browsers :) Edge shows a notification on how to switch back, but I think I've been stuck in full screen with Firefox before.

                  1 Reply Last reply
                  0
                  • S Slacker007

                    Jacquers wrote:

                    recall activating a f.lux

                    I originally read this as "flux capacitor" and I was like, "Holy crap" how do I do that!. Having a PC that can actually time travel would be amazing, both good and bad.

                    J Offline
                    J Offline
                    Jacquers
                    wrote on last edited by
                    #13

                    Mine does, but only forward and only one second at a time :P

                    1 Reply Last reply
                    0
                    • A Andreas Mertens

                      I wish there was an option to lock down the panes in VS so that they cannot accidentally be dragged from their position. I tend to be a mouse user more than shortcuts, and this tends to happen often enough to be annoying...

                      J Offline
                      J Offline
                      Jacquers
                      wrote on last edited by
                      #14

                      It happens to me as well. It would be nice to lock them in place. Searching for an answer I see that it's been requested before, years ago. It seems like the best alternative is to save the current layout and then load that saved layout if you really mess it up.

                      1 Reply Last reply
                      0
                      • S Slacker007

                        Jacquers wrote:

                        recall activating a f.lux

                        I originally read this as "flux capacitor" and I was like, "Holy crap" how do I do that!. Having a PC that can actually time travel would be amazing, both good and bad.

                        D Offline
                        D Offline
                        DerekT P
                        wrote on last edited by
                        #15

                        I've found by installing Win10, I can go back in time. Based on boot time and usability, I'm back to about 2005 now. I'm expecting to go a bit further back once I "upgrade" to Win11. :laugh: :laugh:

                        1 Reply Last reply
                        0
                        • J jsc42

                          I found a VS shortcut (don't know what it was) that lost half the VS Panes and scrambled the rest. I had to use the Window -> Reset Window Layout to get anything usable. Now, when I try to move / view panes, VS just crashes. I hope I never find that shortcut again.

                          G Offline
                          G Offline
                          Gary R Wheeler
                          wrote on last edited by
                          #16

                          Visual Studio 2008 has a bug that undocks all of your windows. To recover you must carefully start up a second instance of VS2008, exit the broken one, and then exit the 2nd. This forces the original window layout to get saved over the borked one. And yes, my choice of present tense for the preceding paragraph was not an accident :suss:...

                          Software Zen: delete this;

                          D 1 Reply Last reply
                          0
                          • J Jacquers

                            I'm a fan of keyboard shortcuts and use them regularly with VS and VS code. One of them is shift+ctrl+d for Ghostdoc to add comments to a method. Today I accidentally pressed shift+ctrl+t and discovered the find file feature :) I should probably just have a look at the shortcut cheatsheet :-O I also recall activating a f.lux color scheme that turned my display a strange hue of pink iirc. That was a fun one to track down, since I didn't know that I caused it by pressing some hotkey combination. Have you found any cool / handy shortcuts by accident?

                            S Offline
                            S Offline
                            Super Lloyd
                            wrote on last edited by
                            #17

                            have you tried ALT+F4?! ;P

                            A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

                            J 1 Reply Last reply
                            0
                            • J Jacquers

                              I'm a fan of keyboard shortcuts and use them regularly with VS and VS code. One of them is shift+ctrl+d for Ghostdoc to add comments to a method. Today I accidentally pressed shift+ctrl+t and discovered the find file feature :) I should probably just have a look at the shortcut cheatsheet :-O I also recall activating a f.lux color scheme that turned my display a strange hue of pink iirc. That was a fun one to track down, since I didn't know that I caused it by pressing some hotkey combination. Have you found any cool / handy shortcuts by accident?

                              E Offline
                              E Offline
                              englebart
                              wrote on last edited by
                              #18

                              I some times zoom/magnify my Outlook window. Maybe mouse wheel or something on the ten key? I wish I knew the reverse. I always have to dig through the ribbons to undo it.

                              J C 2 Replies Last reply
                              0
                              • J Jacquers

                                I'm a fan of keyboard shortcuts and use them regularly with VS and VS code. One of them is shift+ctrl+d for Ghostdoc to add comments to a method. Today I accidentally pressed shift+ctrl+t and discovered the find file feature :) I should probably just have a look at the shortcut cheatsheet :-O I also recall activating a f.lux color scheme that turned my display a strange hue of pink iirc. That was a fun one to track down, since I didn't know that I caused it by pressing some hotkey combination. Have you found any cool / handy shortcuts by accident?

                                O Offline
                                O Offline
                                obermd
                                wrote on last edited by
                                #19

                                You need a cat. Cats are great at finding keyboard shortcuts. ;P

                                1 Reply Last reply
                                0
                                • S Super Lloyd

                                  have you tried ALT+F4?! ;P

                                  A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

                                  J Offline
                                  J Offline
                                  Jacquers
                                  wrote on last edited by
                                  #20

                                  Ctrl-F4 is handy for closing tabs :)

                                  1 Reply Last reply
                                  0
                                  • E englebart

                                    I some times zoom/magnify my Outlook window. Maybe mouse wheel or something on the ten key? I wish I knew the reverse. I always have to dig through the ribbons to undo it.

                                    J Offline
                                    J Offline
                                    Jacquers
                                    wrote on last edited by
                                    #21

                                    Maybe it's ctrl + mouse wheel? Or ctrl and the + key? Ctrl - should undo it. With Web browsers ctrl + 0 usually resets it to the default zoom level.

                                    1 Reply Last reply
                                    0
                                    • J Jacquers

                                      I'm a fan of keyboard shortcuts and use them regularly with VS and VS code. One of them is shift+ctrl+d for Ghostdoc to add comments to a method. Today I accidentally pressed shift+ctrl+t and discovered the find file feature :) I should probably just have a look at the shortcut cheatsheet :-O I also recall activating a f.lux color scheme that turned my display a strange hue of pink iirc. That was a fun one to track down, since I didn't know that I caused it by pressing some hotkey combination. Have you found any cool / handy shortcuts by accident?

                                      W Offline
                                      W Offline
                                      Wizard of Sleeves
                                      wrote on last edited by
                                      #22

                                      Sometimes the discoveries are found the hard way. I use (not by choice) WebStorm as my IDE. To push the code to the host, the shortcut is U. I found out after my changes did not seem to change anything and after I uploaded again, it complained that some variable was was undefined. It seems that U toggles the case of word at the cursor between upper & lower.

                                      Nothing succeeds like a budgie without teeth.

                                      1 Reply Last reply
                                      0
                                      • R rnbergren

                                        no, But my cat seems to find them all the time.

                                        To err is human to really elephant it up you need a computer

                                        P Offline
                                        P Offline
                                        Peter Kelley 2021
                                        wrote on last edited by
                                        #23

                                        Has anyone ever tried to invent a cat-shield for a laptop keyboard? And maybe an optional project-screen-onto-cat feature that would help when he's blocking that?
                                        Dean Kamen, Elon Musk, Tony Stark - did they think of anything so handy?

                                        K 1 Reply Last reply
                                        0
                                        • E englebart

                                          I some times zoom/magnify my Outlook window. Maybe mouse wheel or something on the ten key? I wish I knew the reverse. I always have to dig through the ribbons to undo it.

                                          C Offline
                                          C Offline
                                          Cpichols
                                          wrote on last edited by
                                          #24

                                          Control+ zooms in, control- zooms out, control0 returns to 'normal'

                                          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