Truemag

  • Categories
    • Tips And Tricks
    • Internet
    • PHP
    • Javascript
    • CSharp
    • SQL Server
    • Linux
  • Lastest Videos
  • Our Demos
  • About
  • Contact
  • Home
  • Write With Us
  • Job Request
Home CSharp Visual Studio Auto generate comments using GhostDoc plugin

Visual Studio Auto generate comments using GhostDoc plugin

Be developer, anyone always would like to develop coding skill fast and effectively.
Be developer, anyone is always aware of  that using naming convention will make your code more professional. Writing comment in your source code is one of important element of naming convention. It makes your source easy to understand and easy to maintain but it also takes you a lot of time to do, of course.

In Visual Studio, when we type three “/” characters continuously like this “///” above the code line of  method or class, it will auto generate comment like in below red rectangle.

VSTool_CodeComment

VSTool_CodeComment

It looks pretty great, but  with GhostDoc, it brings  you more. This tool is really helpful for you  to generate code comments automatically. It saves more a lot of your time when coding.

This free tool supports VS2005,2008,2010, we will see this while installing.

VSTool_GhostDoc_01

VSTool_GhostDoc_01

Now we begin to enjoy this tool :).

1. Download GhostDoc and install

2. After finish installation, open Visual Studio, this below screen  appears and request you  to assign a hotkey for automatic comments generation,  the default hotkey is Ctrl + Shift + D, you can choose another hotkey in the dropdownlist “Hotkey”.

VSTool_GhostDoc_02

VSTool_GhostDoc_02

3. Open a certain CSharp  or VB.NET file.

Focus the mouse on the name of method, right click choose “Document This” or press hot key “Ctrl + Shift + D“

VSTool_GhostDoc_03

VSTool_GhostDoc_03

The comment is generated as below. It generates description of the method name, variable name. The more meaning naming convention you declare(ex : CheckUserLogin, userName, password), the more specified description you get.

VSTool_GhostDoc_02
VSTool_GhostDoc_04

VSTool_GhostDoc_04

Feb 12, 2012quynhnguyen
MSSQL Split Function returns table dataJavaScript Get Radio Button Value
You Might Also Like:
  • ASP.NET How to configure Ajax Control Tookit in Visual Studio
  • View Word Wrap In Visual Studio .Net
  • Visual Studio Set default web browser and change size of browser window
  • Auto Rotate Web Page Title With JavaScript
  • C# Generate Website Screenshot And Save Thumbnail
  • View Word Wrap and Line Numbers in Microsoft Visual Web Developer 2010 Express
  • Javascript generate a random number using Math.random
  • Generate And Display Related Content On WordPress
  • Service, Tool To Create, Generate Your Favicon .ico Online
  • PHP auto post tweet to Twitter
quynhnguyen
9 years ago CSharpCSharp, Visual Studio414
0
GooglePlus
0
Facebook
0
Twitter
0
Digg
0
Delicious
0
Stumbleupon
0
Linkedin
0
Pinterest
Most Viewed
PHP Download Image Or File From URL
22,152 views
Notepad Plus Plus Compare Plugin
How To Install Compare Text Plugin In Notepad Plus Plus
20,033 views
Microsoft SQL Server 2008 Attach Remove Log
Delete, Shrink, Eliminate Transaction Log .LDF File
15,812 views
JQuery Allow only numeric characters or only alphabet characters in textbox
13,291 views
C# Read Json From URL And Parse/Deserialize Json
9,782 views
4 Rapid Development is a central page that is targeted at newbie and professional programmers, database administrators, system admin, web masters and bloggers.
Recent Posts
  • Essay For Sale – How To Write A Superb One That Will Sell
  • Free Online Photo Editor
  • Strategies For Finding Your Research Paper Requires
  • How Fast Should You Write a Written Essay?

  • What To Look For In A Research Paper Writing Service
Categories
  • CSharp (45)
  • Facebook Graph API (19)
  • Google API (7)
  • Internet (87)
  • iPhone XCode (8)
  • Javascript (35)
  • Linux (28)
  • MySQL (16)
  • PHP (84)
  • Problem Issue Error (29)
  • Resources (32)
  • SQL Server (25)
  • Timeline (5)
  • Tips And Tricks (141)
  • Uncategorized (100)
Recommended
  • Custom Software Development Company
  • Online Useful Tools
  • Premium Themes
  • VPS
2014 © 4 Rapid Development