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
 Control over brace style in generated method
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

FitzyDog
Senior Member

25 Posts

Posted - Nov 19 2013 :  8:36:44 PM  Show Profile  Reply with Quote
I often write member function declarations and the use Visual Assist to generate the implementation(Create implementation).

The brace style that Visual Assist assumes is that you want braces on separate lines. Like so..

void Function
{
...
}

I prefer to have my functions like this

void Function{
...
}


Could you add some way to inform VA how you would like your braces formatted?

Thanks!



Dusan
Whole Tomato Software

Slovakia
177 Posts

Posted - Nov 20 2013 :  08:40:32 AM  Show Profile  Reply with Quote
To manage how feature "Create Implementation" works, modify C++ VA Snippet: "Refactor Create Implementation".

To open VA Snippet Editor use menu: VAssistX->Tools->Edit VA Snippets...

Or you can use shortcut ALT+X,T,E

HTH

Edited by - Dusan on Nov 20 2013 08:51:26 AM
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