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
 Technical Support
 Auto format brackets
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

RobertG
New Member

2 Posts

Posted - May 12 2014 :  06:11:57 AM  Show Profile  Reply with Quote
Hi,

Using VS 2013 premium with VA 2029

I`m not sure how to do it, if at all possible...
lets say i have a property:
public List<Process> ProcessList
{
get { return _processList; }
set { _processList = value; }
}

I would like to be able to press enter before the opening bracket of the get and set and get the following:

public List<Process> ProcessList
{
get
{
return _processList;
}
set
{
_processList = value;
}
}


Can it be done?


Thanks,
Robert

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 12 2014 :  3:45:08 PM  Show Profile  Reply with Quote
We don't support code formatting. However, you can use the Encapsulate field refactoring command to create them. You can customize the formatting of the created code via a simple template:

VAssistX -> Tools -> Edit Snippets...
Here, you will find a Refactoring snippet called "Encapsulate field" for C#.
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