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
 Hovering refactoring icon when not available
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

TLHobbes
Junior Member

14 Posts

Posted - May 10 2007 :  1:53:05 PM  Show Profile  Reply with Quote
Currently, symbols that don't have refactoring available show the hovering refactoring icon which only expands to say "Refactoring not available on symbol"

To save time, that same information could be given by changing the icon's color and/or shape. Perhaps the little black triangle could be a red triangle or a red X.

From this one could see that refactoring is not available without the extra mouse click.

RickHodgin
Senior Member

44 Posts

Posted - May 10 2007 :  5:22:17 PM  Show Profile  Reply with Quote
Seconded!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - May 11 2007 :  08:30:57 AM  Show Profile  Reply with Quote
We are looking into simply not showing the icon if refactoring is not available:

case=1043

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

khb
Tomato Guru

Germany
337 Posts

Posted - May 12 2007 :  03:27:08 AM  Show Profile  Reply with Quote
IMHO, this is not a good idea. For me, when hovering over a symbol, the icon sometimes needs 2-3 seconds before it is displayed. I, therefore, need a definite feedback that no refactoring is available. I don't want to see myself waiting 5 seconds everytime to be sure that I did a mistake by hovering over a symbol that can't be refactored anyway. A red triangle or a red cross sound brilliant to me!

Regards,
Marcus.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - May 14 2007 :  09:16:48 AM  Show Profile  Reply with Quote
A very good point, I have put a note on this case about this.

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

RickHodgin
Senior Member

44 Posts

Posted - May 15 2007 :  11:24:54 AM  Show Profile  Reply with Quote
quote:

IMHO, this is not a good idea. For me, when hovering over a symbol, the icon sometimes needs 2-3 seconds before it is displayed.


Marcus, the 2-3 second delay exists because it is a hover feature. The actual logic does not take 2-3 seconds to execute and determine refactoring abilities.

- Rick C. Hodgin
Go to Top of Page

Sasa
Tomato Guru

272 Posts

Posted - May 15 2007 :  1:16:24 PM  Show Profile  Reply with Quote
quote:
Originally posted by khb

IMHO, this is not a good idea. For me, when hovering over a symbol, the icon sometimes needs 2-3 seconds before it is displayed. I, therefore, need a definite feedback that no refactoring is available. I don't want to see myself waiting 5 seconds everytime to be sure that I did a mistake by hovering over a symbol that can't be refactored anyway. A red triangle or a red cross sound brilliant to me!

Regards,
Marcus.



Agreed.

We asked this feature a long time ago, but you know, they have to balance bugs and feature requests...so we might see it one day...who knows :)

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

khb
Tomato Guru

Germany
337 Posts

Posted - May 16 2007 :  02:10:59 AM  Show Profile  Reply with Quote
quote:
Originally posted by RickHodgin

Marcus, the 2-3 second delay exists because it is a hover feature. The actual logic does not take 2-3 seconds to execute and determine refactoring abilities.

Maybe I'm the only one facing some minor performance problems with the current version of VAX. I don't know what's the reason for that, maybe it's not a problem of VAX, but IMHO it was better a few builds ago. Anyway, sometimes my IDE gets rather slow and then the refactoring icon doesn't always show up immediately.

Regards,
Marcus.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - May 16 2007 :  08:04:41 AM  Show Profile  Reply with Quote
khb can you start a new thread for this? The more you can pin down to help me look into this problem the better.

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

khb
Tomato Guru

Germany
337 Posts

Posted - May 16 2007 :  08:28:23 AM  Show Profile  Reply with Quote
Ehm, it was not my idea to start a new discussion here. Threads about my problem (more or less) already exist. I just wanted to justify my point of view against Rick's protest

Regards,
Marcus.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - May 16 2007 :  08:50:02 AM  Show Profile  Reply with Quote
So long as the problem is being discussed somewhere sensible With regard to this, one case where there is a delay before the options are available is:

* uncomment a block of code
* select some of this block
* want to use VA to refactor it

This is something that I often encountered when testing refactoring. Since you are editing while uncommenting VA wants you to pause before reparsing, and then it has to catch up with the uncommented code before it knows what options to offer.

zen is the art of being at one with the two'ness
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