Home Downloads About Contact Us   Search:  
Monday February 8, 2010 03:39 PM
Need Help?
Need help with any AderSoftware product? Visit Our Forums
News
5/29/07: CFBB : free cold fusion forums (V1.4.0) is available for download.

2/28/06: Font Viewer version 1.2 available with full C# source code.
7/15/05: VSPropertyGenerator : version 2 for Visual Studio 2005 released.

5/18/05: TemplateEngine : .net template library version 2 is available

4/14/04: Code Templates add-on for VS.net
3/10/04: SystemPainter utility for .net
2/18/04: WinCount utility updated
2/15/04: Expression Evaluator and Plotter written in C#
1/22/04: VS.NET Property Generator Utility V1.1
06/29/03: C# Tetris available with all source code.
03/06/03: Compiler Design added compiler design section

03/06/03: Oyster media organizer is available for download

5/12/02: Online poker game available
12/4/01: DHTML poker game available.

Search
Search Our Site:

vsPropertyGenerator

Update (1-22-04): version 1.1 released.
- generated property name for variables starting with m_ (or any other char) skip m_ part
- property names are sorted by name
- option to create new fields: end of class, beginning of class, after each field, after last field or after last property

vsPropertyGenerator is an Add-On to VisualStudio.net for easily creating/removing properties to C# classes. It works like "Generate Getters/Setters" feature from Eclipse IDE.
After installing, you'll have new tool in your Tools Menu: VSPropertyGenerator.
To use just open any C# source file and run the tool. You should see a dialog like the one in the below screenshot. Click checkboxes next to Get to create get property and Set to create set property. If a checkbox is checked and you uncheck it, the tool will remove the property.
Tip: For faster access, assign some shortcut key to the tool.

Before:

After:



DOWNLOAD vsPropertyGenerator



Comments About vsPropertyGenerator
On Sat. Aug. 20, 2005 at 03:28 PM Anonymous Coward wrote:
It would be nice if there were a way to generate "All". IOW, auto-check all getters/setters.
Great tool though. Coming from Eclipse, this was definitely needed.
On Thu. Jul. 21, 2005 at 08:10 AM Björn Kruse wrote:
Hi!
Nice tool, do you thought about adding the option to generate Properties für .vb files/Visual Basic?

Greetz,
Björn
On Fri. Mar. 18, 2005 at 06:07 AM Mark Knox wrote:
Any chance of a version of this that also does getter/setter code for c++ as well, even if it left the methods empty to be implemented.
On Tue. Mar. 8, 2005 at 11:30 AM Josche wrote:
Update (Sorry I was quick to post) Apparently it's not popping up not because of the leading underscore but if you do not have a leading scope operator (public, private, protected) By default. Just FYI .Net assumes that all attributes are private without a specified scope operator. Now having said this .. if you have already defined a property for these variables, it does run.
On Tue. Mar. 8, 2005 at 11:25 AM Josche wrote:
Nice utility. Tho I have a problem. When creating variable that start with an underscore for example string _text; The property generator will not start. If I remove (Comment) these entries out of the class then it will. I am using ver 1.1 of the generator. Would suggest that if it comes across the properties with the underscore, then it would generate properties without the leading character. ie string _item; would generate public string Item.
On Sun. Jan. 23, 2005 at 03:46 PM asd wrote:
thanks dude
On Wed. Aug. 25, 2004 at 06:32 AM Jo wrote:
I used it to work with VS .NET 2003 and found it very usefull. But I can't get it to work with VS .NET 2005 Beta.
On Sun. Jul. 11, 2004 at 03:06 PM Anonymous Coward wrote:
Cool app! My only suggestion is some kind of "select all" button, if we want to click everything.
On Mon. May. 24, 2004 at 03:27 AM joni wrote:
Same problem than AM Matthias. I run on C# .NET 2003 (ver. 7.1.3088)
On Mon. Apr. 5, 2004 at 10:11 AM A wrote:
Very good and useful tool, but:
The generator throws an "Exception HRESULT:0x80022001" if the first character of the variable name is in upper case.
On Mon. Apr. 5, 2004 at 05:56 AM Matthias wrote:
I have Visual C# 2003 and there is no new tool after installation. What can I do?
On Fri. Apr. 2, 2004 at 11:49 AM Craig wrote:
I'm still writing in v1.0 .net framework. Do you have a version that runs on 1.0?
On Mon. Mar. 22, 2004 at 11:11 AM M wrote:
It is nice, thank you!
On Thu. Jan. 22, 2004 at 05:08 PM Brian wrote:
Nice tool. Could you add an option to strip off all characters prior to the 1st uppercase character when determining the property name. For example, "private int m_iIndex;" would create a property named "Index" rather than "M_iIndex".
On Fri. Jan. 9, 2004 at 10:09 PM Kunal wrote:
Is it run on .NET framework 1.0 and with the VS.NET 2002 version? I installed it but cant find any menu item in Tools. Where am i wrong?
On Mon. Dec. 8, 2003 at 03:41 PM philipp wrote:
very useful - thanks a lot :-)
one thing: the order of generated properties doesn't match the member's which is a bit of a problem in case of a huge amount of properties...
On Fri. Nov. 7, 2003 at 01:36 AM Winston wrote:
Does the Generator only run with Visual Studio 2003? After installation I have no new Tool in my Tools-Menu. I use Visual Studio 7.
On Wed. Oct. 29, 2003 at 10:14 AM Mats Högberg wrote:
Would it be possible to run under 1.0 framework?
On Fri. Oct. 17, 2003 at 02:53 PM Serge wrote:
I think the window suppose to be dockable within the studio IDE (if possible)
On Mon. Sep. 29, 2003 at 03:48 PM dredge wrote:
what method are you using to generate the code? is it using the CodeDom namespace? if so, you should provide an option for VB.NET or C#.
Your Name:
Your Email:
(If you want to be contacted about your comment. Will not show on this page.)

Enter Your Comments (up to 1000 characters):

Applications
CFBB


Oyster


Font Viewer



Games
1000 A.D.


Glizda


Pac Horror


More Games...

Copyright © 1997-2005 AderSoftware
All rights reserved
33458 visitors to this page.
Page Loaded in .02 sec.
Contact Us