Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 No trailing blank when move implementation to file

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
av0tar15 Posted - Sep 27 2008 : 8:27:36 PM
Hi,

I'm doing cross-platform development and gcc complaints if the last name in source file is not blank. When I use "Move implementation to source file" refactoring VSX doesn't observe this rule and occupies the last line with code. Fixing this trivial issue will make some lifes better w/o harming anyone who doesn't care :).
4   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Sep 30 2008 : 08:04:47 AM
Try adding a second blank line to the end of the snippet. I have just tested this here, and with two blank lines in the snippet a single blank line is added to the code.

I am not quite sure why there is this difference, but it is easy enough to work around.
av0tar15 Posted - Sep 29 2008 : 8:54:24 PM
quote:

In addition we are considering a feature to try and make sure the file ends with a blank line when VA inserts closing brackets:


I think this one would solve the problem, because there's a blank line in "Create Implementation" template already, but this doesn't help.
feline Posted - Sep 29 2008 : 06:21:57 AM
In addition we are considering a feature to try and make sure the file ends with a blank line when VA inserts closing brackets:

case=158
accord Posted - Sep 28 2008 : 6:29:17 PM
Did you mean last line? (You wrote "last name".)

If yes, you can change this easily, since every refactoring has it's own template here:

VA Options -> Advanced -> Suggestions -> Edit VA Snippets (button)

Find "Refactor Create Implementation" snippet (which is a tree node) and append an enter to it's template.

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