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
 Feature Requests
 copy from refactor pro
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

stukad
Junior Member

13 Posts

Posted - Sep 09 2007 :  4:43:21 PM  Show Profile  Reply with Quote
http://www.devexpress.com/Products/NET/IDETools/Refactor/

I did trial the refactor pro. Refactoring is done better there. Toolstips are not ugly, them are helpful in this case. Also highlighting what you are currently factoring is better.

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Sep 10 2007 :  10:15:09 AM  Show Profile  Reply with Quote
I looked over their list of refactoring's a little while ago, and concluded that we offer most of them, just under different names, and sometimes using a different approach.

I am not sure what you mean about ugly tooltips. Depending on the IDE you are using, half the time the tooltips you are seeing are actually from the IDE its self. VA tooltips are designed to look like IDE tooltips, for constancy.

Highlighting what you are refactoring, I am not quite sure what you mean here. For example what is there to refactor with Change Signature? You get a dialog showing you the current signature, which you edit.

When Find References has been run you can ask VA to highlight the references.

I am certainly very interested in ideas and suggestions, but I am not really sure what you are getting at here.

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

stukad
Junior Member

13 Posts

Posted - Sep 10 2007 :  12:58:40 PM  Show Profile  Reply with Quote
1) Break apart arguments is quite usefull, you can change for example int testt(int a, int b, int c) to int testt(int a,
int b,
...
with one click.

2) About the tooltips and the change signature.
http://img516.imageshack.us/img516/2151/24673607fy0.jpg
http://img516.imageshack.us/img516/732/90912131hw1.jpg
I find their implementation of this looks a bit better.

3) http://img403.imageshack.us/img403/6978/91311268bn9.jpg
This tooltip looks quite good. It explains what the function is going to do.

4) Also the function recorder parameters is very nice. You can toogle their position <- -> very nice.

5) This symbols (arrows) are very helpful. http://img405.imageshack.us/img405/4724/43864072cb6.jpg
If you move their with mouse them will show you where to is the next step of execution. http://img444.imageshack.us/img444/1830/12735560oo9.jpg
(A feature not from Refactor, but form CodeRush)

Edited by - stukad on Sep 10 2007 1:09:28 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Sep 10 2007 :  5:16:28 PM  Show Profile  Reply with Quote
Point 1, is that simply changing the formatting of the code?
I see the appeal, but I also know that as soon as we try to do something like that we will get 15 different users all insisting we change the formatting we use. Currently we try to avoid getting into the whole question of code formatting, since especially in C++ people have very fixed opinions on code formatting, and you need to offer a LOT of options to keep everyone happy.

Point 2, the change signature looks interesting, certainly more "helpful", but once you know what you are doing also a lot slower. We made a design decision with refactoring to try and keep out of the users way as much as possible, and to avoid asking them a lot of questions when they trigger a command. So our Change Signature dialog is rather "stark", it also lets you make all the changes you want "just like that".

Point 3, I agree, that is a very good tooltip. Is that appearing when you use the main IDE menu bar, or only on some other context menu? Just looking at VS2005, the IDE is not even bothering to place any information onto the status bar to tell you what each menu item is going to do, which is something many simpler programs do.

Point 4, You can re-order the parameters with Change Signature, but I agree, this is not quite so "easy". Personally it is fairly rare that I want to re-order parameters, while I often find myself wanting to add parameters, or add a default value to a parameter. All of which I can do with Change Signature, but again this may not be that obvious.

Point 5, the arrow's interest me, but I am so used to people posting questions about C++ code that looks like:

static void whatIsTheOrderOfExecutionHere()
{
    int nFoo;
#ifdef SETTING_ONE
    nFoo = 1;
#elif SETTING_TWO
    nFoo = 2;
#else
    nFoo = 3;
#endif
}

That I immediately wonder how well they really work in the real world. At this point you need to be the compiler to figure out the code flow. VA does not try to "know" the actual state of all of these pre-processor directives.


One thing that is clear here, VA is less "intuitive". For an experienced user this can be a good thing, since VA gets out of your way and lets you work, but this makes it harder to learn what VA can do...

There is a rather important point here, and this is something we need to think about. Thank you

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

stukad
Junior Member

13 Posts

Posted - Sep 11 2007 :  12:29:06 PM  Show Profile  Reply with Quote
quote:
Point 1, is that simply changing the formatting of the code?

Yes.

quote:
Is that appearing when you use the main IDE menu bar, or only on some other context menu?

It`s just in their refactor menu and it helps if you are new to that software.

And about 5) and the preprocessor commands. It`s a quite interesting question. I made one more screenshot. http://img205.imageshack.us/img205/6940/13044159fg1.jpg

Seams to work well. I find that`s great.
Go to Top of Page

holedigger
Whole Tomato Software

145 Posts

Posted - Sep 11 2007 :  3:42:15 PM  Show Profile  Reply with Quote
Can you try 5) again with this code:


int main()
{
while (1)
{
#if defined(_DEBUG)
break;
#elif defined(NDEBUG)
continue;
#else
goto end;
#endif
}

end:
return EXIT_SUCCESS;
}

Does the current project configuration (debug/release) make a difference?
thanks.


Whole Tomato Software
Go to Top of Page

stukad
Junior Member

13 Posts

Posted - Sep 12 2007 :  10:58:50 AM  Show Profile  Reply with Quote
It matches always also, also goto end. Debug/Release seams to trick it.
Go to Top of Page

holedigger
Whole Tomato Software

145 Posts

Posted - Sep 12 2007 :  5:45:50 PM  Show Profile  Reply with Quote
interesting. thank you.

Whole Tomato Software
Go to Top of Page

Sasa
Tomato Guru

272 Posts

Posted - Sep 12 2007 :  9:07:19 PM  Show Profile  Reply with Quote
I must admit that Refactor Pro is getting better and better for C++, although VAX is still numero uno :)

C++
Visual Studio 2008 Pro
Windows 7 x64
Go to Top of Page

AGPX
Senior Member

28 Posts

Posted - Sep 14 2007 :  08:59:13 AM  Show Profile  Reply with Quote
quote:
Originally posted by Sasa

I must admit that Refactor Pro is getting better and better for C++, although VAX is still numero uno :)



I agree, But first of all VAX is ten times better in performance.I've seen the performance difference in a large scale project.CPU usage and memory usage is too much in Refactor.You don't even feel weight of VAX during development.Refactor tries to parse all data in IDE's thread and this locks thread during that long process.Also it tries to parse sources when a refactor request is done.Also VAX refactorings are far realiable than Refactor!.

But Refactor Pro's refactoring options and user interface is quite better.And they are improving their system.Also Microsoft thinks of using it in its next versions of VS.
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