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.
  • 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
                              • 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?

                                M Offline
                                M Offline
                                MKJCP
                                wrote on last edited by
                                #25

                                Many moons ago I was working at the command prompt. My keyboard fell into a drawer and the edge of the desk hit F7. What appeared was a selectable list of my prior commands. That ended up being pretty handy. One day, while motor touring in France, we took a wrong turn. It cut a few km off the route to our destination and we got to see some interesting neighborhoods.

                                1 Reply Last reply
                                0
                                • G Gary R Wheeler

                                  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 Offline
                                  D Offline
                                  darktrick544
                                  wrote on last edited by
                                  #26

                                  Nice to see someone else still using VS2008.

                                  1 Reply Last reply
                                  0
                                  • P Peter Kelley 2021

                                    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 Offline
                                    K Offline
                                    Keefer S
                                    wrote on last edited by
                                    #27

                                    I've got a really effective cat shield. Two pit pulls outside and a Shih-Tzu inside. Never have problems with cats on my keyboard, or anywhere else for that matter. :-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?

                                      M Offline
                                      M Offline
                                      Matt Bond
                                      wrote on last edited by
                                      #28

                                      I haven't, but my cat has.

                                      Bond Keep all things as simple as possible, but no simpler. -said someone, somewhere

                                      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.

                                        S Offline
                                        S Offline
                                        Shmoken99
                                        wrote on last edited by
                                        #29

                                        Grandma finds this one all the time. Half my phone calls with her include the phrase "F11".

                                        S 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?

                                          C Offline
                                          C Offline
                                          Choroid
                                          wrote on last edited by
                                          #30

                                          Not sure we are limited to VS Shortcuts? I just installed Firefox and do not want to search from the address bar. So I discovered that if I change the home page view to this URL DuckDuckGo — Privacy, simplified.[^] I get what I want but the Pocket Shortcuts are removed OK So I created a Bookmark named it Firefox Pocket and gave it his URL about:home. Added the letter "H" to the keyword field. Now just enter H in the address bar and press ENTER and presto magic my Pocket shortcuts show up. As for VS my favorite is F9 and F7

                                          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