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. Is it just me or ...

Is it just me or ...

Scheduled Pinned Locked Moved The Lounge
csharptutorialquestionasp-netdatabase
16 Posts 9 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.
  • M Offline
    M Offline
    Matt U
    wrote on last edited by
    #1

    ... does it seem time consuming to use a keyboard and a mouse together, when keyboard shortcuts work much more quickly (at least for me)? I mean, there are cases in which the combination is much quicker and/or more efficient for me. I ask such a question because occasionally I watch videos on YouTube. These people are demonstrating various techniques related to C#, ASP .NET MVC, SQL, or whatever it is they're doing a tutorial for. And a lot of their actions are done with the mouse. I could understand if they were showing you how to operate the IDE itself, helping you to become acquainted with it. But ... when you're in an intermediate or advanced topic, you should probably know your way around the IDE. I know that if I personally were to create a tutorial such as these, I would use my regular shortcuts. I don't click the Build button, or the Start Debug button, or the "Step Into/Over" buttons, or the Stop Debug button. I press Ctrl+F5, F5, F10, F11, Shift+F5, etc. I use F9 to set/remove breakpoints. I use Ctrl+K/Ctrl+K, Ctrl+K/Ctrl+N and Ctrl+K/Ctrl+P to set/remove bookmarks, move to the next bookmark and move to the previous bookmark. Same when I'm navigating through a code file. I rarely touch the mouse. I use Ctrl+Up/Down to scroll down a line at a time. I use Ctrl+. to create method stubs and such. I use Ctrl+Left/Right to navigate a line of code. Are there people who can be just as quick and efficient using a keyboard/mouse combination for the exact same tasks? It's quite a serious question; I haven't used a keyboard/mouse together *that* often in many years. :doh:

    djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

    Richard Andrew x64R Kornfeld Eliyahu PeterK V L R 7 Replies Last reply
    0
    • M Matt U

      ... does it seem time consuming to use a keyboard and a mouse together, when keyboard shortcuts work much more quickly (at least for me)? I mean, there are cases in which the combination is much quicker and/or more efficient for me. I ask such a question because occasionally I watch videos on YouTube. These people are demonstrating various techniques related to C#, ASP .NET MVC, SQL, or whatever it is they're doing a tutorial for. And a lot of their actions are done with the mouse. I could understand if they were showing you how to operate the IDE itself, helping you to become acquainted with it. But ... when you're in an intermediate or advanced topic, you should probably know your way around the IDE. I know that if I personally were to create a tutorial such as these, I would use my regular shortcuts. I don't click the Build button, or the Start Debug button, or the "Step Into/Over" buttons, or the Stop Debug button. I press Ctrl+F5, F5, F10, F11, Shift+F5, etc. I use F9 to set/remove breakpoints. I use Ctrl+K/Ctrl+K, Ctrl+K/Ctrl+N and Ctrl+K/Ctrl+P to set/remove bookmarks, move to the next bookmark and move to the previous bookmark. Same when I'm navigating through a code file. I rarely touch the mouse. I use Ctrl+Up/Down to scroll down a line at a time. I use Ctrl+. to create method stubs and such. I use Ctrl+Left/Right to navigate a line of code. Are there people who can be just as quick and efficient using a keyboard/mouse combination for the exact same tasks? It's quite a serious question; I haven't used a keyboard/mouse together *that* often in many years. :doh:

      djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

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

      Matt U. wrote:

      I use Ctrl+. to create method stubs

      Say that again? What do you use to create method stubs?

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

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

        Matt U. wrote:

        I use Ctrl+. to create method stubs

        Say that again? What do you use to create method stubs?

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

        M Offline
        M Offline
        Matt U
        wrote on last edited by
        #3

        Ctrl+(period) :rolleyes:

        djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

        Richard Andrew x64R 1 Reply Last reply
        0
        • M Matt U

          Ctrl+(period) :rolleyes:

          djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

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

          No, I wasn't busting your chops, really. I tried CTRL+. and it did nothing. Is there something that has to be set up for it to work?

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

          M M 2 Replies Last reply
          0
          • Richard Andrew x64R Richard Andrew x64

            No, I wasn't busting your chops, really. I tried CTRL+. and it did nothing. Is there something that has to be set up for it to work?

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

            M Offline
            M Offline
            Mycroft Holmes
            wrote on last edited by
            #5

            I suspect there has been some customisation been going on as it doesn't work for me either!

            Never underestimate the power of human stupidity RAH

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

              No, I wasn't busting your chops, really. I tried CTRL+. and it did nothing. Is there something that has to be set up for it to work?

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

              M Offline
              M Offline
              Matt U
              wrote on last edited by
              #6

              Check the reply I just added after Mycroft said the same thing.

              djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

              1 Reply Last reply
              0
              • M Mycroft Holmes

                I suspect there has been some customisation been going on as it doesn't work for me either!

                Never underestimate the power of human stupidity RAH

                M Offline
                M Offline
                Matt U
                wrote on last edited by
                #7

                If you're working in a class and you want to create a method that takes 3 parameters (int a, string b, bool c) then you type it out like this:

                class MyClass
                {
                void MyMethod()
                {
                int a = 10;
                string b = "String";
                bool c = true;

                    MyNewMethod(a, b, c);
                }
                

                }

                And then you see a little blue box under the "M" in "MyNewMethod(...)". If you put the caret anywhere in the name or (...) (anything left of the ';', and press Ctrl+., it will show the popup to "Generate method stub for MyNewMethod in MyClass". If you type a name like you would a type, such as:

                // Some code
                // ...

                MyNewClass newClass = new MyNewClass();

                You can also use Ctrl+. to generate the class "MyNewClass". I use Visual Studio 2010 and no modifications. It's a default, at least on my end...

                djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

                Richard Andrew x64R 1 Reply Last reply
                0
                • M Matt U

                  If you're working in a class and you want to create a method that takes 3 parameters (int a, string b, bool c) then you type it out like this:

                  class MyClass
                  {
                  void MyMethod()
                  {
                  int a = 10;
                  string b = "String";
                  bool c = true;

                      MyNewMethod(a, b, c);
                  }
                  

                  }

                  And then you see a little blue box under the "M" in "MyNewMethod(...)". If you put the caret anywhere in the name or (...) (anything left of the ';', and press Ctrl+., it will show the popup to "Generate method stub for MyNewMethod in MyClass". If you type a name like you would a type, such as:

                  // Some code
                  // ...

                  MyNewClass newClass = new MyNewClass();

                  You can also use Ctrl+. to generate the class "MyNewClass". I use Visual Studio 2010 and no modifications. It's a default, at least on my end...

                  djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

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

                  OH! Now I know what you're talking about. Yeah, that's a great feature. It can also generate structure members and enumeration members.

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

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

                    OH! Now I know what you're talking about. Yeah, that's a great feature. It can also generate structure members and enumeration members.

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

                    M Offline
                    M Offline
                    Matt U
                    wrote on last edited by
                    #9

                    Right on! Yeah, I use it a lot. Especially when I'm starting something for the first time, because the structure isn't really in place yet. It's simpler than typing the entire method name + parameters twice. Haha.

                    djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

                    1 Reply Last reply
                    0
                    • M Matt U

                      ... does it seem time consuming to use a keyboard and a mouse together, when keyboard shortcuts work much more quickly (at least for me)? I mean, there are cases in which the combination is much quicker and/or more efficient for me. I ask such a question because occasionally I watch videos on YouTube. These people are demonstrating various techniques related to C#, ASP .NET MVC, SQL, or whatever it is they're doing a tutorial for. And a lot of their actions are done with the mouse. I could understand if they were showing you how to operate the IDE itself, helping you to become acquainted with it. But ... when you're in an intermediate or advanced topic, you should probably know your way around the IDE. I know that if I personally were to create a tutorial such as these, I would use my regular shortcuts. I don't click the Build button, or the Start Debug button, or the "Step Into/Over" buttons, or the Stop Debug button. I press Ctrl+F5, F5, F10, F11, Shift+F5, etc. I use F9 to set/remove breakpoints. I use Ctrl+K/Ctrl+K, Ctrl+K/Ctrl+N and Ctrl+K/Ctrl+P to set/remove bookmarks, move to the next bookmark and move to the previous bookmark. Same when I'm navigating through a code file. I rarely touch the mouse. I use Ctrl+Up/Down to scroll down a line at a time. I use Ctrl+. to create method stubs and such. I use Ctrl+Left/Right to navigate a line of code. Are there people who can be just as quick and efficient using a keyboard/mouse combination for the exact same tasks? It's quite a serious question; I haven't used a keyboard/mouse together *that* often in many years. :doh:

                      djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

                      Kornfeld Eliyahu PeterK Offline
                      Kornfeld Eliyahu PeterK Offline
                      Kornfeld Eliyahu Peter
                      wrote on last edited by
                      #10

                      When I'm programming - most of the time - I use keyboard almost exclusively...

                      I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).

                      "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                      1 Reply Last reply
                      0
                      • M Matt U

                        ... does it seem time consuming to use a keyboard and a mouse together, when keyboard shortcuts work much more quickly (at least for me)? I mean, there are cases in which the combination is much quicker and/or more efficient for me. I ask such a question because occasionally I watch videos on YouTube. These people are demonstrating various techniques related to C#, ASP .NET MVC, SQL, or whatever it is they're doing a tutorial for. And a lot of their actions are done with the mouse. I could understand if they were showing you how to operate the IDE itself, helping you to become acquainted with it. But ... when you're in an intermediate or advanced topic, you should probably know your way around the IDE. I know that if I personally were to create a tutorial such as these, I would use my regular shortcuts. I don't click the Build button, or the Start Debug button, or the "Step Into/Over" buttons, or the Stop Debug button. I press Ctrl+F5, F5, F10, F11, Shift+F5, etc. I use F9 to set/remove breakpoints. I use Ctrl+K/Ctrl+K, Ctrl+K/Ctrl+N and Ctrl+K/Ctrl+P to set/remove bookmarks, move to the next bookmark and move to the previous bookmark. Same when I'm navigating through a code file. I rarely touch the mouse. I use Ctrl+Up/Down to scroll down a line at a time. I use Ctrl+. to create method stubs and such. I use Ctrl+Left/Right to navigate a line of code. Are there people who can be just as quick and efficient using a keyboard/mouse combination for the exact same tasks? It's quite a serious question; I haven't used a keyboard/mouse together *that* often in many years. :doh:

                        djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

                        V Offline
                        V Offline
                        virang_21
                        wrote on last edited by
                        #11

                        Ctrl K D to indent Ctrl M O to minimize all

                        Zen and the art of software maintenance : rm -rf * Math is like love : a simple idea but it can get complicated.

                        1 Reply Last reply
                        0
                        • M Matt U

                          ... does it seem time consuming to use a keyboard and a mouse together, when keyboard shortcuts work much more quickly (at least for me)? I mean, there are cases in which the combination is much quicker and/or more efficient for me. I ask such a question because occasionally I watch videos on YouTube. These people are demonstrating various techniques related to C#, ASP .NET MVC, SQL, or whatever it is they're doing a tutorial for. And a lot of their actions are done with the mouse. I could understand if they were showing you how to operate the IDE itself, helping you to become acquainted with it. But ... when you're in an intermediate or advanced topic, you should probably know your way around the IDE. I know that if I personally were to create a tutorial such as these, I would use my regular shortcuts. I don't click the Build button, or the Start Debug button, or the "Step Into/Over" buttons, or the Stop Debug button. I press Ctrl+F5, F5, F10, F11, Shift+F5, etc. I use F9 to set/remove breakpoints. I use Ctrl+K/Ctrl+K, Ctrl+K/Ctrl+N and Ctrl+K/Ctrl+P to set/remove bookmarks, move to the next bookmark and move to the previous bookmark. Same when I'm navigating through a code file. I rarely touch the mouse. I use Ctrl+Up/Down to scroll down a line at a time. I use Ctrl+. to create method stubs and such. I use Ctrl+Left/Right to navigate a line of code. Are there people who can be just as quick and efficient using a keyboard/mouse combination for the exact same tasks? It's quite a serious question; I haven't used a keyboard/mouse together *that* often in many years. :doh:

                          djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #12

                          Tis not just you, but I have a problem as I use a number of different IDEs and not all have the same keyboard behaviour - so it can be a pain in the proverbial, forcing me to mouse up. I think in video tutorials they often use a mouse so the viewer can see that they are doing something - otherwise things can happen seemingly magically unless they tell you what keys they pressed. Biggest keyboard issue between IDEs that I have is usually Ctrl-X or Ctrl-C to cut or copy ; in VS it will cut or copy the entire line when there is no text selection. This seems to be true of few other IDEs (AppCode is the only one I use that allows it) I use this lods of times a day - and find myself trying to do it in Word and other programs too as it is immensely useful. II know it is possible to customise the keystrokes of most decent IDEs - but that can cause an issue especially with those I am less familiar with - as turning to the interwebs for help tends to elicit the 'just press Ctrl-Space dot K-P star' response - which if I have changed my mappings will probably do something entirely unrelated! ON that note, I wish all debuggers would use the same keys to run, step into out of etc.!

                          MVVM # - I did it My Way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')

                          1 Reply Last reply
                          0
                          • M Matt U

                            ... does it seem time consuming to use a keyboard and a mouse together, when keyboard shortcuts work much more quickly (at least for me)? I mean, there are cases in which the combination is much quicker and/or more efficient for me. I ask such a question because occasionally I watch videos on YouTube. These people are demonstrating various techniques related to C#, ASP .NET MVC, SQL, or whatever it is they're doing a tutorial for. And a lot of their actions are done with the mouse. I could understand if they were showing you how to operate the IDE itself, helping you to become acquainted with it. But ... when you're in an intermediate or advanced topic, you should probably know your way around the IDE. I know that if I personally were to create a tutorial such as these, I would use my regular shortcuts. I don't click the Build button, or the Start Debug button, or the "Step Into/Over" buttons, or the Stop Debug button. I press Ctrl+F5, F5, F10, F11, Shift+F5, etc. I use F9 to set/remove breakpoints. I use Ctrl+K/Ctrl+K, Ctrl+K/Ctrl+N and Ctrl+K/Ctrl+P to set/remove bookmarks, move to the next bookmark and move to the previous bookmark. Same when I'm navigating through a code file. I rarely touch the mouse. I use Ctrl+Up/Down to scroll down a line at a time. I use Ctrl+. to create method stubs and such. I use Ctrl+Left/Right to navigate a line of code. Are there people who can be just as quick and efficient using a keyboard/mouse combination for the exact same tasks? It's quite a serious question; I haven't used a keyboard/mouse together *that* often in many years. :doh:

                            djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

                            R Offline
                            R Offline
                            Rage
                            wrote on last edited by
                            #13

                            Obligatory reference[^]

                            ~RaGE();

                            I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

                            1 Reply Last reply
                            0
                            • M Matt U

                              ... does it seem time consuming to use a keyboard and a mouse together, when keyboard shortcuts work much more quickly (at least for me)? I mean, there are cases in which the combination is much quicker and/or more efficient for me. I ask such a question because occasionally I watch videos on YouTube. These people are demonstrating various techniques related to C#, ASP .NET MVC, SQL, or whatever it is they're doing a tutorial for. And a lot of their actions are done with the mouse. I could understand if they were showing you how to operate the IDE itself, helping you to become acquainted with it. But ... when you're in an intermediate or advanced topic, you should probably know your way around the IDE. I know that if I personally were to create a tutorial such as these, I would use my regular shortcuts. I don't click the Build button, or the Start Debug button, or the "Step Into/Over" buttons, or the Stop Debug button. I press Ctrl+F5, F5, F10, F11, Shift+F5, etc. I use F9 to set/remove breakpoints. I use Ctrl+K/Ctrl+K, Ctrl+K/Ctrl+N and Ctrl+K/Ctrl+P to set/remove bookmarks, move to the next bookmark and move to the previous bookmark. Same when I'm navigating through a code file. I rarely touch the mouse. I use Ctrl+Up/Down to scroll down a line at a time. I use Ctrl+. to create method stubs and such. I use Ctrl+Left/Right to navigate a line of code. Are there people who can be just as quick and efficient using a keyboard/mouse combination for the exact same tasks? It's quite a serious question; I haven't used a keyboard/mouse together *that* often in many years. :doh:

                              djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

                              D Offline
                              D Offline
                              DaveAuld
                              wrote on last edited by
                              #14

                              Problem is remembering them all.

                              Dave Find Me On: Web|Facebook|Twitter|LinkedIn|GitHub


                              Folding Stats: Team CodeProject

                              1 Reply Last reply
                              0
                              • M Matt U

                                ... does it seem time consuming to use a keyboard and a mouse together, when keyboard shortcuts work much more quickly (at least for me)? I mean, there are cases in which the combination is much quicker and/or more efficient for me. I ask such a question because occasionally I watch videos on YouTube. These people are demonstrating various techniques related to C#, ASP .NET MVC, SQL, or whatever it is they're doing a tutorial for. And a lot of their actions are done with the mouse. I could understand if they were showing you how to operate the IDE itself, helping you to become acquainted with it. But ... when you're in an intermediate or advanced topic, you should probably know your way around the IDE. I know that if I personally were to create a tutorial such as these, I would use my regular shortcuts. I don't click the Build button, or the Start Debug button, or the "Step Into/Over" buttons, or the Stop Debug button. I press Ctrl+F5, F5, F10, F11, Shift+F5, etc. I use F9 to set/remove breakpoints. I use Ctrl+K/Ctrl+K, Ctrl+K/Ctrl+N and Ctrl+K/Ctrl+P to set/remove bookmarks, move to the next bookmark and move to the previous bookmark. Same when I'm navigating through a code file. I rarely touch the mouse. I use Ctrl+Up/Down to scroll down a line at a time. I use Ctrl+. to create method stubs and such. I use Ctrl+Left/Right to navigate a line of code. Are there people who can be just as quick and efficient using a keyboard/mouse combination for the exact same tasks? It's quite a serious question; I haven't used a keyboard/mouse together *that* often in many years. :doh:

                                djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

                                M Offline
                                M Offline
                                Mark_Wallace
                                wrote on last edited by
                                #15

                                You can't type "GOTO" with a mouse.

                                I wanna be a eunuchs developer! Pass me a bread knife!

                                R 1 Reply Last reply
                                0
                                • M Mark_Wallace

                                  You can't type "GOTO" with a mouse.

                                  I wanna be a eunuchs developer! Pass me a bread knife!

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

                                  Of course you can.[^]. But you shall not.

                                  ~RaGE();

                                  I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

                                  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