Geeks With Blogs

News



Add to Google

Tim Hibbard CEO for EnGraph software Keyboard Shortcuts Keyboard shortcuts that I use during application development and everyday computer use
Use Preprocessor Directives for better debugging
The most common use for Preprocessor Directives is to intelligently group your code using the #region … #endregion tag (sidenote: Ctrl + M, M is a great keyboard shortcut to expand and contract your regions). Preprocessor Directives can also be used to tell the compiler which code should or should not be compiled based on the configuration environment. Wrapping code in an #if DEBUG … #endif block will only execute if the environment is in debug mode. This proved to be a handy way to debug a situation ......

Posted On Monday, June 21, 2010 1:08 PM

Visual Studio Team System Unit Testing Keyboard Shortcuts
I try to use keyboard shortcuts as much as possible. Here are some that are handy when unit testing with Visual Studio: Ctrl + R, A – Run all tests Ctrl + R, T – Run tests in context (based on if cursor is in function, class, or namespace) Ctrl + R, F – Runs all tests that are checked in Test Results – very handy because that window is impossible to navigate without a mouse Ctrl + R, Ctrl + A – Run all tests in debug mode Ctrl + R, Ctrl + T – Run all tests in context in debug mode Ctrl + R, Ctrl ......

Posted On Tuesday, November 25, 2008 11:24 AM

VS2008 code snippet for Properties that support INotifyPropertyChanged
This code snippet extends the functionality found in prop code snippet. It will populate the backing field in the property, check for equality in the setter and call PropertyChanged. It assumes you have a base class that handles the implementation of INotifyPropertyChanged. When the snippet is called, it will generate code that looks like this: private int myVar; public int MyProperty { get { return myVar; } set { if (!myVar.Equals(value)) { myVar = value; base.OnPropertyChanged("MyP... } ......

Posted On Tuesday, November 18, 2008 2:19 PM

New Vista short cut keys
Rolvin Pagunsan talks about some new Win key combinations. My favorites are Win-Space (show sidebar) and Win-Number to launch applications in your quick launch toolbar. Like Win-3 to launch VS 2005 since that is the 3rd application in my quick launch toolbar. Technorati tags: Vista, Short cut keys, Rolvin Pagunsan, DevPinoy ......

Posted On Thursday, December 14, 2006 10:53 PM

WPF Access Keys
In WPF, access keys are created like this:_Click Me! Pre-WPF was:&Click Me! Access keys in buttons work differently based on the type of control your text is rendered in. This code will only bring the keyboard focus to the button, it will not generate a click event: <Button Click="clickMeClick">_Click Me!</Button> When the user presses Alt - C on their keyboard, they expect the button to act as if it has been clicked, not just selected. To set keyboard focus and generate a click event, ......

Posted On Tuesday, August 28, 2007 10:15 AM

WM5 tip - deleting multiple messages
On Windows Mobile 5 devices with a keyboard, you can hold the Shift key and select multiple messages in the email client. When you have multiple messages selected, you can press Menu -> Delete to delete these selected messages. Hope this saves somebody as much time as it has saved me. Technorati tags: WM5 ......

Posted On Wednesday, May 9, 2007 7:45 AM

My favorite Visual Studio keyboard shortcut
I actually have two favorite keyboard shortcuts that I use all the time. When defining a class signature that will implement an interface or abstract class (class something : ISomethingElse), you can press SHIFT - ALT - F10 then ENTER after you populate the signature and it will populate the needed method signatures for you. I know it sounds a bit hairy, but you get used to it pretty quickly. My second favorite is CTRL - TAB to cycle through the open tabs in the IDE. This also works for any tab control. ......

Posted On Monday, May 7, 2007 9:04 PM

Copyright © Tim Hibbard | Powered by: GeeksWithBlogs.net