Is it just me or ...
-
Ctrl+(period) :rolleyes:
djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.
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.
-
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.
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
-
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.
-
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
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.
-
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.
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.
-
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.
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.
-
... 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.
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).
-
... 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.
-
... 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.
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')
-
... 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.
-
... 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.
-
... 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.
You can't type "
GOTO
" with a mouse.I wanna be a eunuchs developer! Pass me a bread knife!
-
You can't type "
GOTO
" with a mouse.I wanna be a eunuchs developer! Pass me a bread knife!