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
 Two linespaces between cpp definitions
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

swinefeaster
Tomato Guru

310 Posts

Posted - Apr 23 2020 :  9:00:48 PM  Show Profile  Reply with Quote
My current team's weird coding convention wants two empty lines between function definitions in the cpp. Is there any way I can modify the VAX Create Implementation template to honor this?

Thanks

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Apr 24 2020 :  07:27:04 AM  Show Profile  Reply with Quote
Assuming you are using Create Implementation to generate your implementations in the cpp file, setting:

VA Options -> Code Generation -> Maintain order in header and source files for generated C/C++ implementations
Place 2 lines between generated implementations

will help, but this won't reformat existing code.

zen is the art of being at one with the two'ness
Go to Top of Page

swinefeaster
Tomato Guru

310 Posts

Posted - Apr 24 2020 :  2:31:29 PM  Show Profile  Reply with Quote
ah yes i found it! thanks
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