Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Support for .NET (C++/CLI) properties?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

devarni
New Member

5 Posts

Posted - Mar 16 2012 :  06:26:37 AM  Show Profile  Reply with Quote
It seems there is no support yet?

I mean something like this:


property String^ Name{
   String^ get(){ return this->do_stuff_there() ;}
   void set(String^ value){this->do_stuff_there(value);}
}


There should be a refactoring to introduce a property to replace a variable and a "add property" for create a new property from scratch.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Mar 16 2012 :  8:42:04 PM  Show Profile  Reply with Quote
We are planning to improve the parsing of properties:

case=24121

Regarding refactoring: we already have it, its name is Encapsulate field.
You can create a Visual Assist snippet if you would like to create a property from the scratch:

VAssistX -> Tools -> Edit VA Snippets...

Just grab the snippet for C# -> Refactor Encapsulate Field to use it as a starting point for your new one.

Snippets are quite powerful, you can read more about them after the jump:
http://www.wholetomato.com/products/features/vasnippets.asp
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000