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

 All Forums
 Visual Assist
 Technical Support
 Disable blank line in Create Implementation?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

New Member

5 Posts

Posted - Mar 05 2015 :  02:52:35 AM  Show Profile  Reply with Quote
Hi, I recently upgraded to version 10.9.2059 and now whenever I use "Create Implementation" the created method is preceded by a blank line. Since I have my own method separators I do not want the extra blank line. Is it possible to disable it? My snippet does not include a blank line.

Whole Tomato Software

United Kingdom
3279 Posts

Posted - Mar 05 2015 :  07:46:36 AM  Show Profile  Reply with Quote
There is no setting for this in the options dialog yet, but you can use the below registry entry to specify how many empty lines you want between methods:

HKEY_CURRENT_USER\\Software\\Whole Tomato\\Visual Assist X\\VANet12


You may need to create the entry or just modify it.

VANet12 is for VS2013.
Modify VANet12 in the path to VANet11 for VS2012,
VANet10 for VS2010
VANet9 for VS2008
VANet8 for VS2005

Refactoring and Code Generation commands place new methods in more relevant locations, typically relative to the current method. The improvement largely eliminates the needs to move methods with cut and paste.

But for this improvement we needed a new feature which dynamically allocates space because now Create Implementation tries to keep a matching order between the header and the source file, instead of just putting the new methods to the end of the file / class.

Edited by - accord on Mar 05 2015 07:48:41 AM
Go to Top of Page

New Member

5 Posts

Posted - Mar 06 2015 :  06:10:28 AM  Show Profile  Reply with Quote
Works like a charm! Thanks!
Go to Top of Page

Whole Tomato Software

2817 Posts

Posted - Apr 10 2015 :  11:29:39 PM  Show Profile  Reply with Quote
Build 2062 introduces a setting for this option on the Code Generation page of the VA Options dialog.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2021 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000