KnowDotNet Visual Organizer

Ending Brace Comments - CSharpCompleterPlus

If CSharpCompleterPlus detects a line of code that has been typed that looks like a property (does not end with ")" or ";", and begins with public string Name, e.g.), it will display a dialog allowing you to create a property. The property dialog is shown below.

Property Dialog



You can optionally create a ReadOnly, WriteOnly, or ReadWrite property, change the default property name, and create the private variable if you have not already created it. The code created is shown below.


   public string Name
   {
     get{return _Name;}
     set{_Name = value;}
   } // property
   private string _Name;


Writing Add-Ins for Visual Studio .NET
Writing Add-ins for Visual Studio .NET
by Les Smith
Apress Publishing