Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Moving methods in VA Outline reformats code

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

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

Forum code is on.
Html is off.

Check to subscribe to this topic.

T O P I C    R E V I E W
v_v Posted - Dec 13 2010 : 12:15:39 PM

There is an annoying bug when moving any function with VA Outline.
I prefer to have 1-tab indent on the second line of function definition:

But after moving function I see:

(I suppose the same thing happens with the code inside function)
Is it possible to disable such a behavior?
8   L A T E S T    R E P L I E S    (Newest First)
support Posted - Feb 29 2012 : 1:26:10 PM
case=53417 is fixed in build 1901
v_v Posted - Dec 18 2010 : 1:17:33 PM
Thank you!
Hope to see it see it in VA :)
(It is to create I think. May be throw registry settings.)
feline Posted - Dec 17 2010 : 3:28:26 PM
You make a good case for this, I have put in a feature request to see what our developers make of it:

v_v Posted - Dec 16 2010 : 3:05:27 PM
Yes, this is the same by realization, but not the same by user-logic, I suppose.
I use copy/paste to reorder peaces of code, not whole functions. So I usually inspect the result (there are small changes and they are useful).
When I reorder functions it is something global, I can't inspect it for such small changes as formating (it is very annoying and even diff-tool doesn't help). I even don't suppose they could appear, I didn't ask for them, it's a hidden behavior.
May be I can inspire you to create such a product-feature as separate behavior for this two situations? =)
feline Posted - Dec 16 2010 : 12:53:54 PM
Drag and drop via VA Outline is done via cut and paste in the editor, which is why the format on paste setting is applied here.

As far as VA is concerned, this is the same as re-ordering your code "manually" by selecting it, cutting it and then pasting it into a new location in the file.
v_v Posted - Dec 14 2010 : 08:59:22 AM
It seems to be two different functions depends on the same checkbox.
I want to reformat code on paste (indent may differ from source to target), but I don't want to have any changes in my code when I just reoder methods.
It's hard to notice such small changes moving many methods at the same time. And it is not very convenient to check this setting all the time :)
Is it possible to do something of it?
v_v Posted - Dec 14 2010 : 08:36:06 AM
Sorry, didn't notice.
Thank you!
accord Posted - Dec 13 2010 : 6:00:59 PM
Format after paste also applies when you move items in VA outline, you can turn this off here:

VA Options -> Advanced -> Correction -> Format after paste

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