CSharpCodeAssistant is an open source visual studio addin which can add constructors and properties based on user's request. For more information, please look at the Documentation page.

In C#, we add constructors mostly to set some of the member/variables of the class/struct. In case of inheritence, we would like to invoke a base class constructor for our current class constructor.

If you are looking for an Addin which can create a constructor by selecting some variables (these variables are used as parameters and also setters in the constructor body) and an optional base constructor invocation then codeAssistant is right for you.

for example, if you have class like this

public class Temp3 
{
     double variable6;
     Temp1 variable7;
     string temp123;
}

and you would like to create a constructor like this

public class Temp3 
{
     double variable6;
     Temp1 variable7;
     string temp123;
     public Temp3(double variable6, Temp1 variable7, string temp123)
     {
            this.variable6 = variable6;
            this.variable7 = variable7;
            this.temp123 = temp123;
     }
}

then CSharpCodeAssistant is right Addin for you. CSharpCodeAssistant can also add properties for you. Please see the Documentation page for more details.

I have added two new features for this addin

  1. SemicolonAssistant which adds semicolon at the end of the line by using CTRL+; independent of the cursor position.
  2. NewLineAssistant which adds a new line below the current line and moves the cursor to new line using CTRL+Enter independent of the cursor position.

CSharpCodeAssistant is built on .NET 3.5 and can run in Visual Studio 2005, 2008, 2010.

It is first time that I am publishing one of my pet projects and if you have any concerns/questions/bugs please use the appropriate pages.

I have divided this project into two phases
  1. add features in helping users to create constructors and properties automatically.
  2. improve intellisense of the visual stuido.

I have finished the first phase of my Addin and I would finish the second phase within a month (Hopefully :)).

This is first my addin and I hope you like it. Please rate my project if you like it.

If you have any questions, please use Discussions page.

If you have any bugs to report, please use Issue Tracker page.

If you would like to start your own project on codeplex please use this link: Project Startup Guide.

Thanks,
~Sri.

Last edited Jan 15, 2011 at 2:32 PM by srikalyan, version 18