|
Ctrl+(period)
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.
|
|
|
|
|
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:
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.
|
|
|
|
|
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.
|
|
|
|
|
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.
|
|
|
|
|
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).
|
|
|
|
|
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.
|
|
|
|
|
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')
|
|
|
|
|
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
|
|
|
|
|
Problem is remembering them all.
|
|
|
|
|
You can't type "GOTO " with a mouse.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
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
|
|
|
|
|
Well after months and months of applying and waiting, I was accepted into the Google Glass developer program. Ordered the (way too expensive) Google Glasses tonight and should get them in a week or so.
Will have to put up an article when I get them. I have a very interesting application in mind, have just been waiting for some good HUD glasses to become available (also ordered the Recon Jet[^] glasses but they are behind on the target ship date).
|
|
|
|
|
When is Google Glass ever going to be available to the general public to buy and use?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Hopefully soon, the price of these things is ridiculous, they need to get them out to the general public so they can come down a bit. I have a customer who wants me to develop an oilfield application for these, and I have a really cool project for pilots.
You'd think with the amount of advertising they are doing they would release a public availability date...
|
|
|
|
|
Do they have a tiny USB connector on them? How do you load apps?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Yeah, they actually have a micro usb connector on them, it doubles as the earbud connector[^] (and yes, the ear bud is usb).
|
|
|
|
|
Why do they need to do that when they can sell them to mugs developers at inflated prices?
MVVM # - I did it My Way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
.\\axxx
(That's an 'M')
|
|
|
|
|
If anyone, anywhere, wants to get me a birthday present that is #1 on the list.
I swoon merely thinking about the awesomeness that is the Recon Jet.
(Now if only they provided a guarantee it'd make a good a rider as Hincapie...)
|
|
|
|
|
I have the Recon Mod setup on my Ski Goggles. It is ace, the only problem is on days I don't want to wear goggles, maybe need to invest in some jets as well
It certainly a damn site cheaper than the Google Glass (x 3) that are currently available on Ebay! And they wont even open up the dev access to non-US
|
|
|
|
|
One of the products I'm working in is up your alley Dave. Its a HUD for drillers, the people commissioning the project want to demonstrate it at OTC in Houston next year.
|
|
|
|
|
Sound cool, what area is it targeting? Is it for use by the driller in the doghouse, or on the rig floor, or by the company man sat in his office?
|
|
|
|
|
Any of those really, but what we wanted to do was to let the driller focus more out the window than down at instrumentation. We also want to get to the point where we can give a pair of glasses to other hands (like up on the monkey board) so that if there is a problem he can just turn the camera on and let video stream to somebody who can help.
The company I contract to does (among other things) drilling instrumentation, like full auto-driller packages so they are just wanting to integrate a lot of that into the newest thing out there. They want to display things like ROP, mud flows, standpipe pressures, etc and have them pop up when they are critical.
|
|
|
|