Tag Archives: Visual Studio

Visual Studio Themes and Color Schemes

I just came cross this site http://studiostyles.info/ which provides Visual Studio color schemes for free download. All color schemas work for both Visual Studio 2008 and 2010. Every schema has screenshots so you can see how it looks like before downloading it.

You can follow following steps to import the color schema into Visual Studio.

  1. In Visual Studio, choose Tools > Import and Export Settings
  2. Choose Import Selected Environment Settings and select whether you want to back up your existing settings or not
  3. Click Browse to choose the file you downloaded.
  4. You get a choice which settings you want to import – choose all of them since the file only contains color settings and won’t touch your other VS settings.
  5. Click Finish and you’ll see the new colors.

Note: if you save the file to My Documents > Visual Studio 2010 > Settings, you’ll have quick access to choose the settings file in step 3 above.

Continue reading

SpellChecker in WPF4 TextBox

TextBox and RichTextBox in WPF4 has the built in SpellChecker functionality. It’s currently available in following four languages

  • #LID 1033 – English
  • #LID 3082 – Spanish
  • #LID 1031 – German
  • #LID 1036 – French

Enable SpellChecker functionality on TextBox or RichTextBox is as easy as just setting SpellCheck.IsEnabled to True on the controls.

   <TextBox SpellCheck.IsEnabled="True" />

Continue reading

CopySourceAsHtml for Visual Studio 2010

CopySourceAsHtml is an add-in for Microsoft Visual Studio 2008 that allows you be able to quickly get your code as HTML from Visual Studio, just like being able to save it as a HTML file from the Save As dialog. It’s very helpful if you frequently post code to blog or send code in email.

I recently switched to Visual Studio 2010 and noticed this plug in is not ready for Visual Studio 2010 yet. Here is how you can get it work for Visual Studio before CopySourceAsHtml owner releases an official update to support Visual Studio 2010.

Continue reading

GhostDoc Tutorial

Earlier I have introduced this excellent comment auto generation tool – GhostDoc. Now you can follow this instructions to get GhostDoc working in just 5 minutes.

  1. Download GhostDoc and install
  2. GhostDoc is a Visual Studio plugin, so after Visual Studio is launched, you’d need to assign a hotkey for automatic comments generation, or just  click skip to use default hotkey Ctrl + Shift + D Continue reading

Final Visual Studio 2010 available for download

Visual Studio 2010, the best version of Visual Studio ever, is now available for download in Microsoft download center. The build number for RTM VS2010 and CLR4 is 4.0.30319.1.

Here is link for free trial

Visual Studio 2010 Professional

Visual Studio 2010 Ultimate

Training Resources

Visual Studio 2010 and .NET Framework 4 Training Kit

Visual Studio 2010 and .NET Framework 4 Training Course

Moving to Visual Studio 2010 e-Book

Continue reading

Find Dead Code

Dead code means block of code that is not reachable in application. They can cause noisy in code debugging and confuse developers. Sometimes I might spend a few hours to figure out why a breakpoint never hit.

Most of code defect is result of old function no longer used and referenced. Remove them will prevent developers from wasting time investigating wrong code. Thanks to FxCop in visual studio, now finding dead code is pretty straight forward. Continue reading

Visual Studio plug-in: GhostDoc

Are your tired of documenting you code using C# /// XmlDoc syntax for each and every method?

It is time for you to meet SubMain’s GhostDoc. SubMain’s GhostDoc is a Visual Studio plug-in the was design just for you. It will parse your method/property/parameters names and will create a great documentation just for you with simple Ctrl+Shift+D.

Download it Free at: http://submain.com/products/ghostdoc.aspx. Continue reading