|T O P I C R E V I E W
||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)
||Posted - Feb 29 2012 : 1:26:10 PM
case=53417 is fixed in build 1901
||Posted - Dec 18 2010 : 1:17:33 PM
Hope to see it see it in VA :)
(It is to create I think. May be throw registry settings.)
||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:
||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? =)
||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.
||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?
||Posted - Dec 14 2010 : 08:36:06 AM
Sorry, didn't notice.
||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