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. F1 for help in VS

F1 for help in VS

Scheduled Pinned Locked Moved The Lounge
visual-studiocsharpperformancehelpannouncement
37 Posts 25 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.
  • P peterchen

    Remove F1 key (I did that with a keyboards "Shutdown" key), or shock yourself anytime you press it.

    FILETIME to time_t
    | FoldWithUs! | sighist | WhoIncludes - Analyzing C++ include file hierarchy

    R Offline
    R Offline
    RugbyLeague
    wrote on last edited by
    #7

    Bah, that would involve planning for what might happen in the future.

    1 Reply Last reply
    0
    • R realJSOP

      And you'll never get that 10 minutes back. You're better off using google if you need help. It's faster, and doesn't hog cpu cycles.

      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
      -----
      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
      -----
      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

      K Offline
      K Offline
      Keith Barrow
      wrote on last edited by
      #8

      5'd, And I'm thinking about creating a second account, just so I can 5-you again...

      Sort of a cross between Lawrence of Arabia and Dilbert.[^]
      -Or-
      A Dead ringer for Kate Winslett[^]

      1 Reply Last reply
      0
      • R RugbyLeague

        I think I have some residual muscle memory left over from back in the day as I occasionally press F1 in Visual Studio when I need to know something. After waiting 10 minutes for the Help to update itself to reflect changes it takes me to some arcane corner of the MS world which I am sure is fascinating to some people but rarely reflects anything I am interested in.

        J Offline
        J Offline
        John M Drescher
        wrote on last edited by
        #9

        I accidentally press the F1 key sometimes and once the dialog pops up saying its building the help index most of the time I realize that it will be a total waste of time so I cancel, open chrome and google to get actual help.. It's been over a decade since the Visual Studio help has been useful. However I do remember that even back in Visual Studio 6 that if you enabled the sdk help (which you needed for ADO, directX ...) that made your C++ searches favor foxpro answers :mad:

        John

        1 Reply Last reply
        0
        • R RugbyLeague

          I think I have some residual muscle memory left over from back in the day as I occasionally press F1 in Visual Studio when I need to know something. After waiting 10 minutes for the Help to update itself to reflect changes it takes me to some arcane corner of the MS world which I am sure is fascinating to some people but rarely reflects anything I am interested in.

          Y Offline
          Y Offline
          Yusuf
          wrote on last edited by
          #10

          If you can resist the temptation, you many want to look at macro's that will redirect your to another provider, for example google. Would this [^]help?

          Yusuf May I help you?

          1 Reply Last reply
          0
          • R realJSOP

            And you'll never get that 10 minutes back. You're better off using google if you need help. It's faster, and doesn't hog cpu cycles.

            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
            -----
            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
            -----
            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

            G Offline
            G Offline
            GenJerDan
            wrote on last edited by
            #11

            Yeah, but you go to Google and they yell at you to stop being lazy and go to Code Project's Q&A.

            ..and water fell from the sky like rain.

            R 1 Reply Last reply
            0
            • R RugbyLeague

              I think I have some residual muscle memory left over from back in the day as I occasionally press F1 in Visual Studio when I need to know something. After waiting 10 minutes for the Help to update itself to reflect changes it takes me to some arcane corner of the MS world which I am sure is fascinating to some people but rarely reflects anything I am interested in.

              E Offline
              E Offline
              Ennis Ray Lynch Jr
              wrote on last edited by
              #12

              Some machines I work on I remove the F1 key because I keep accidentally hitting it.

              Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

              1 Reply Last reply
              0
              • R RugbyLeague

                I think I have some residual muscle memory left over from back in the day as I occasionally press F1 in Visual Studio when I need to know something. After waiting 10 minutes for the Help to update itself to reflect changes it takes me to some arcane corner of the MS world which I am sure is fascinating to some people but rarely reflects anything I am interested in.

                OriginalGriffO Offline
                OriginalGriffO Offline
                OriginalGriff
                wrote on last edited by
                #13

                I hadn't realised this wound other people up! I replaced it with a macro to Google a while ago. I have written up how as a Tip/Trick and just posted it here: http://www.codeproject.com/Tips/156089/Making-F1-do-something-useful-in-Visual-Studio.aspx[^] But in case it isn't available yet (moderation does take a while, sometimes) the process is: For Visual Studio 2008 and Visual Studio 2010: 1) Open VS, and on the Menu bar select "Tools...Macros...New Macro Project" 2) Call the project "GoogleSearchMSDN" 3) I'm so sorry about this, but VB is involved here. Not my fault, honest! 4) Rename the default Module1 to "DoGoogleSearchMSDN" - right click on the module name in the left hand pan, select "Rename" 5) Enter the following code as the module body:

                Sub GoogleSearchMSDN()
                    Dim url As String
                    Dim searchFor As TextSelection = DTE.ActiveDocument.Selection()
                    If searchFor.Text <> "" Then
                        url = "www.google.com/search?q=MSDN+" + searchFor.Text
                    Else
                        url = "www.google.com/search?q=MSDN"
                    End If
                    DTE.ExecuteCommand("View.URL", url)
                End Sub
                
                1. Build and save your module. 7) Use the menu bar again: "Tools...Options...Environment...Keyboard" 8) In the "Show commands containing:" textbox, type "Google" - you should see your new macro. 9) Go to the "Press shortcut keys" box, and press F1 10) Press OK. F1 now searches for "MSDN" plus whatever you highlighted.

                Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Digital man: "You are, in short, an idiot with the IQ of an ant and the intellectual capacity of a hose pipe."

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                B H M 3 Replies Last reply
                0
                • R RugbyLeague

                  I think I have some residual muscle memory left over from back in the day as I occasionally press F1 in Visual Studio when I need to know something. After waiting 10 minutes for the Help to update itself to reflect changes it takes me to some arcane corner of the MS world which I am sure is fascinating to some people but rarely reflects anything I am interested in.

                  _ Offline
                  _ Offline
                  _beauw_
                  wrote on last edited by
                  #14

                  I'm glad someone else noticed what a productivity-killer that key is. I always seem to press in at the most inopportune time. I've even thought about physically removing the F1 key from my keyboard.

                  A 1 Reply Last reply
                  0
                  • R RugbyLeague

                    I think I have some residual muscle memory left over from back in the day as I occasionally press F1 in Visual Studio when I need to know something. After waiting 10 minutes for the Help to update itself to reflect changes it takes me to some arcane corner of the MS world which I am sure is fascinating to some people but rarely reflects anything I am interested in.

                    W Offline
                    W Offline
                    wout de zeeuw
                    wrote on last edited by
                    #15

                    I never had an issue with it. If you're on some method with the cursor, and press F1, you get the help for that method. Quite convenient.

                    Wout

                    J P R 3 Replies Last reply
                    0
                    • P peterchen

                      Remove F1 key (I did that with a keyboards "Shutdown" key), or shock yourself anytime you press it.

                      FILETIME to time_t
                      | FoldWithUs! | sighist | WhoIncludes - Analyzing C++ include file hierarchy

                      R Offline
                      R Offline
                      realJSOP
                      wrote on last edited by
                      #16

                      But F1 is still often useful in non-MS software.

                      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                      -----
                      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                      -----
                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                      P E 2 Replies Last reply
                      0
                      • G GenJerDan

                        Yeah, but you go to Google and they yell at you to stop being lazy and go to Code Project's Q&A.

                        ..and water fell from the sky like rain.

                        R Offline
                        R Offline
                        realJSOP
                        wrote on last edited by
                        #17

                        THAT was funny (unlike the joke posted above, which was not at all funny).

                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                        -----
                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                        -----
                        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                        M 1 Reply Last reply
                        0
                        • W wout de zeeuw

                          I never had an issue with it. If you're on some method with the cursor, and press F1, you get the help for that method. Quite convenient.

                          Wout

                          J Offline
                          J Offline
                          John M Drescher
                          wrote on last edited by
                          #18

                          wout de zeeuw wrote:

                          If you're on some method with the cursor, and press F1, you get the help for that method. Quite convenient.

                          That is when it gives the correct advice on the technology that you are using. For C++ users it seems to never get it correct. Especially if you have enabled SDK help. Maybe it actually works for .NET users. I do not know because I never rarely use .NET.

                          John

                          W G 2 Replies Last reply
                          0
                          • J John M Drescher

                            wout de zeeuw wrote:

                            If you're on some method with the cursor, and press F1, you get the help for that method. Quite convenient.

                            That is when it gives the correct advice on the technology that you are using. For C++ users it seems to never get it correct. Especially if you have enabled SDK help. Maybe it actually works for .NET users. I do not know because I never rarely use .NET.

                            John

                            W Offline
                            W Offline
                            wout de zeeuw
                            wrote on last edited by
                            #19

                            Aaah, I always wondered why so many people were complaining about the help. It always worked for me perfectly, but in .NET indeed.

                            Wout

                            1 Reply Last reply
                            0
                            • _ _beauw_

                              I'm glad someone else noticed what a productivity-killer that key is. I always seem to press in at the most inopportune time. I've even thought about physically removing the F1 key from my keyboard.

                              A Offline
                              A Offline
                              AspDotNetDev
                              wrote on last edited by
                              #20

                              Good idea. They should have locks so you can prevent certain keys from accidentally being pressed. Or maybe covers to put over keys that prevent them from being pressed.

                              [WikiLeaks Cablegate Cables]

                              1 Reply Last reply
                              0
                              • R realJSOP

                                But F1 is still often useful in non-MS software.

                                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                -----
                                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                -----
                                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                                P Offline
                                P Offline
                                peterchen
                                wrote on last edited by
                                #21

                                The tie the shocker to a process that checks which app the thread attached to keyboard input belongs to... Or just reroute F1 to a tool deleting your source tree. Lacks the physical component, but does the job.

                                FILETIME to time_t
                                | FoldWithUs! | sighist | WhoIncludes - Analyzing C++ include file hierarchy

                                1 Reply Last reply
                                0
                                • J John M Drescher

                                  wout de zeeuw wrote:

                                  If you're on some method with the cursor, and press F1, you get the help for that method. Quite convenient.

                                  That is when it gives the correct advice on the technology that you are using. For C++ users it seems to never get it correct. Especially if you have enabled SDK help. Maybe it actually works for .NET users. I do not know because I never rarely use .NET.

                                  John

                                  G Offline
                                  G Offline
                                  Gary Wheeler
                                  wrote on last edited by
                                  #22

                                  That's what I've found. .NET F1 help is dead-on most of the time. F1 help for Win32, SDK, and MFC are whimsical, usually being routed to help for the Media Player version 5.2 SDK (dated 1998). Of course, it's my firm belief that this is a deliberate policy of Microsoft. It's part and parcel of their effort to deprecate/abandon native-mode development in general, and C++ in particular.

                                  Software Zen: delete this;

                                  1 Reply Last reply
                                  0
                                  • R RugbyLeague

                                    I think I have some residual muscle memory left over from back in the day as I occasionally press F1 in Visual Studio when I need to know something. After waiting 10 minutes for the Help to update itself to reflect changes it takes me to some arcane corner of the MS world which I am sure is fascinating to some people but rarely reflects anything I am interested in.

                                    P Offline
                                    P Offline
                                    PIEBALDconsult
                                    wrote on last edited by
                                    #23

                                    I use it all the time (when using VS anyway). It does go horribly wrong some times, but I tell it to never try to access online help so at least it goes wrong quickly -- at which point I usually go to http://msdn.microsoft.com/en-us/library/ms229335(v=VS.90).aspx[^] and RTFM. My biggest complaint is that when I have a syntax error and try to use F1 to get the proper syntax, it brings up an explanation of the error instead :mad: . Also when it pulls up a general discussion of some topic rather than the class I'm trying to use X| .

                                    1 Reply Last reply
                                    0
                                    • R RugbyLeague

                                      I think I have some residual muscle memory left over from back in the day as I occasionally press F1 in Visual Studio when I need to know something. After waiting 10 minutes for the Help to update itself to reflect changes it takes me to some arcane corner of the MS world which I am sure is fascinating to some people but rarely reflects anything I am interested in.

                                      A Offline
                                      A Offline
                                      Anna Jayne Metcalfe
                                      wrote on last edited by
                                      #24

                                      I press F1 for caffeine. There's always enough time to acquire some before the IDE comes back. :-\

                                      Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                                      1 Reply Last reply
                                      0
                                      • W wout de zeeuw

                                        I never had an issue with it. If you're on some method with the cursor, and press F1, you get the help for that method. Quite convenient.

                                        Wout

                                        P Offline
                                        P Offline
                                        Pete Appleton
                                        wrote on last edited by
                                        #25

                                        Is your VS build available externally, or only to MS employees?

                                        -- What's a signature?

                                        W 1 Reply Last reply
                                        0
                                        • P Pete Appleton

                                          Is your VS build available externally, or only to MS employees?

                                          -- What's a signature?

                                          W Offline
                                          W Offline
                                          wout de zeeuw
                                          wrote on last edited by
                                          #26

                                          I guess the first, since MS employees don't have access to my build.

                                          Wout

                                          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