Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Auto format brackets

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
RobertG Posted - May 12 2014 : 06:11:57 AM
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
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - May 12 2014 : 3:45:08 PM
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#.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000