Browse by Tags

Tagged Content List
  • Blog Post: Now Shipping! Coding Faster: Getting More Productive with Visual Studio (Covers Microsoft Visual Studio 2005, 2008, and 2010)

    At long last it is with great pride that I can officially announce the availability our new book! After a year of work and a few interesting speed bumps along the way the book is now in stores world-wide. If you want the best price that I have seen so far, I suggest you go to Amazon: http://www.amazon...
  • Blog Post: Static Code Analysis (aka FxCop) – Simple Code Analysis

    SKU: Premium, Ultimate Versions: 2008, 2010 Code: vstipTool0139   In my extensive travels with my good friend Clint Edmonson ( http://www.notsotrivial.net/blog/ ) we found yet another feature available in Visual that seems to be underutilized: Static Code Analysis. After some digging, we discovered...
  • Blog Post: Code Metrics: Working with Columns

    Windows: Alt, V, M (press several times), Enter Menu: View | Other Windows | Code Metrics Results Command: View.CodeMetricsResults SKU: Premium, Ultimate Versions: 2008, 2010 Languages: C++ (managed only), C#, VB Code: vstipTool0138     The last top on our tour of the Code Metrics Results window...
  • Blog Post: Code Metrics – Creating Work Items from Code Metrics Results

    Windows: Alt, V, M (press several times), Enter Menu: View | Other Windows | Code Metrics Results Command: View.CodeMetricsResults SKU: Premium, Ultimate Versions: 2008, 2010 Languages: C++ (managed only), C#, VB Code: vstipTool0137   NOTE: This tip requires that you are connected to a Team Foundation...
  • Blog Post: Code Metrics: Code Metrics Results Exporting

    Windows: Alt, V, M (press several times), Enter Menu: View | Other Windows | Code Metrics Results Command: View.CodeMetricsResults SKU: Premium, Ultimate Versions: 2008, 2010 Languages: C++ (managed only), C#, VB Code: vstipTool0136   Previously I showed you how to filter your code metrics results...
  • Blog Post: Code Metrics – Code Metrics Results Filtering

    Windows: Alt, V, M (press several times), Enter Menu: View | Other Windows | Code Metrics Results Command: View.CodeMetricsResults SKU: Premium, Ultimate Versions: 2008, 2010 Languages: C++ (managed only), C#, VB Code: vstipTool0135   Having explored code metrics in great detail in the previous...
  • Blog Post: Code Metrics – Maintainability Index

    SKU: Premium, Ultimate Versions: 2008, 2010 Code: vstipTool0134   At long last it is time to look at the final metric from the code metrics (see vstipTool0129, “Code Metrics - Calculating Metrics”): maintainability index. As with the other metrics it is best to start with some definitions. First...
  • Blog Post: Code Metrics – Class Coupling

    SKU: Premium, Ultimate Versions: 2008, 2010 Code: vstipTool0133     As we continue looking at code metrics in Visual Studio (see vstipTool0129, “Calculating Metrics”), it’s time to look at class coupling. Class coupling also goes by the name Coupling Between Objects (CBO) as originally defined...
  • Blog Post: Code Metrics – Depth of Inheritance (DIT)

    SKU: Premium, Ultimate Versions: 2008, 2010 Code: vstipTool0132   Continuing our examination of code metrics (see vstipTool0129, “Calculating Metrics”), it’s time to take a look at one of the metrics designed specifically for object-oriented analysis: Depth of Inheritance. Depth of inheritance,...
  • Blog Post: Code Metrics – Cyclomatic Complexity

    SKU: Premium, Ultimate Versions: 2008, 2010 Code: vstipTool0131   When working with code metrics, one of the least understood items seems to be cyclomatic complexity. Essentially, with cyclomatic complexity, higher numbers are “bad” and lower numbers are “good”. We use cyclomatic complexity to get...
  • Blog Post: Code Metrics – Lines of Code

    SKU: Premium, Ultimate Versions: 2008, 2010 Code: vstipTool0130 [updated 5/15/2011: NASA has apparently removed the paper mentioned in this tip so I have added a new link] In vstipTool0129, “Code Metrics - Calculating Metrics,” I showed you how to obtain code metrics. Getting...
  • Blog Post: Code Metrics – Calculating Metrics

    Windows: Alt, N, M (selected projects); Alt, N, L (solution); Alt, V, E, M, M, M, Enter (results) Menu: Analyze | Calculate Code Metrics For Selected Projects; Analyze | Calculate Code Metrics For Solution; View | Other Windows | Code Metric Results Command: Analyze.CalculateCodeMetricsforSelectedProjects;...
  • Blog Post: Split Code Windows Vertically

    Windows: ALT + W, N (new window); ALT + W, V (new vertical tab group) Menu: Window | New Window; Window | New Vertical Tab Group Command: Window.NewWindow; Window.NewVerticalTabGroup Versions: 2005, 2008, 2010 Code: vstipEnv0063     For quite some time you have been able to split your code...
  • Blog Post: Organize Your Code with Named Regions

      Versions: 2005, 2008, 2010 Code: vstipEdit0095     Did you know you can create named Regions that can be used to organize your code? Let’s take a look at how to do it.   Creating Named Regions C++ In C++ you create regions by using “#pragma region” with label and “#pragma endregion...
  • Blog Post: TODO Comments in the Task List

    The text version of this video can be found here: http://blogs.msdn.com/b/zainnab/archive/2010/06/07/todo-comments-in-the-task-list-vstiptool0029.aspx   If you can't play the embedded video below, you can see it here:  http://www.youtube.com/watch?v=l47g7_Qe8HE   You can also see my entire...
  • Blog Post: Accessing the Toolbar Inside Tool Windows with the Keyboard

    Windows: SHIFT + ALT Versions: 2005, 2008, 2010 Code: vstipTool0126     When you are inside most tool windows, for example, the Breakpoints window:     You can easily get to the toolbar using the keyboard by pressing SHIFT + ALT:   NOTE: Using this technique may require a small...
  • Blog Post: Setting a Breakpoint in the Call Stack Window

    The text version of this video can be found here: http://blogs.msdn.com/b/zainnab/archive/2010/02/05/setting-a-breakpoint-in-the-call-stack-window-vstipdebug0008.aspx     If you can't play the embedded video below, you can see it here:  http://www.youtube.com/watch?v=T_H_bLEHVZc  ...
  • Blog Post: Understanding Commands: The Extend Keyword

    Versions: 2005, 2008, 2010 Code: vstipTool0125     If you work with Commands much you may have noticed that there are sometimes two or more versions of a command. It usually looks like this:     So what does the word “Extend” mean? It’s actually pretty simple. “Extend” means “Select...
  • Blog Post: Moving or Selecting Between Matching Braces vstipEdit0075

    The text version of this video can be found here: http://blogs.msdn.com/b/zainnab/archive/2010/10/15/moving-between-matching-braces-c-vstipedit0075.aspx   If you can't play the embedded video below, you can see it here:  http://www.youtube.com/watch?v=TBkaN0iXGrk     You can also...
  • Blog Post: Reset Fonts and Colors

    Windows: ALT + T, O Menu: Tools | Options | Fonts and Colors Versions: 2005, 2008, 2010 Code: vstipEnv0061 It’s quite common to customize your fonts and colors by going to Tools | Options | Fonts and Colors: However, you may find yourself needing to just reset all your fonts and...
  • Blog Post: Accessing the Menu Bar

    Versions:  2005,2008, 2010 Code:  vstipEnv0060   This tip came up recently and has been around for a while.  Did you know you can access the Menu Bar using the keyboard?  By default the Menu Bar looks like this:     But, if you press the ALT key it sets the focus to...
  • Blog Post: Reset Window Layout

    Windows:  ALT + W, R Menu:   Window | Reset Window Layout Command:  Window.ResetWindowLayout Versions:  2005, 2008, 2010 Code:  vstipEnv0059   When working with your various window layouts you sometimes will get to the point where you just want to start over:  ...
  • Blog Post: Server Explorer: Server Management Classes

    Keyboard: CTRL + ALT + S Menu: View -> Server Explorer Command: View.ServerExplorer Versions: 2008,2010 Published: 12/31/2010 Code: vstipTool0123 Work with SharePoint? Then make sure to check out the new SharePoint Developer Team Blog ! The Management Classes in Server Explorer give you...
  • Blog Post: Server Explorer: Server Event Logs

    Keyboard: CTRL + ALT + S Menu: View -> Server Explorer Command: View.ServerExplorer Versions: 2008,2010 Published: 12/30/2010 Code: vstipTool0122 Work with SharePoint? Then make sure to check out the new SharePoint Developer Team Blog ! I think we take Server Explorer for granted for the...
  • Blog Post: Server Explorer: Data Connections

    Keyboard: CTRL + ALT + S Menu: View -> Server Explorer; Tools -> Connect to Database Command: View.ServerExplorer; Tools.ConnecttoDatabase Versions: 2008,2010 Published: 12/29/2010 Code: vstipTool0121 Work with SharePoint? Then make sure to check out the new SharePoint Developer Team Blog...
Page 1 of 15 (357 items) 12345»