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
 Technical Support
 Getting the hover refactor menu up
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pwaugh
Ketchup Master

USA
68 Posts

Posted - Apr 03 2007 :  3:57:54 PM  Show Profile  Reply with Quote
How can I get the refactor menu arrow to come up when I hover and it doesn't show up?

Sometimes (usually when I'm in a hurry) I can't get the refactor hover menu icon to show :(

I think this may have to do with just having changed the symbol, and then undoing that change b/c I realize I need to use the refactor rename option.

Programming in C++

VA_X.dll 10.4.1626.0
Built 2008.01.17

(1-user license) Support ends 2009.01.29

DevEnv.exe version 9.0.21022.8
msenv.dll version 9.0.21022.8
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
Single processor
Platform: Win32

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Apr 03 2007 :  4:47:21 PM  Show Profile  Reply with Quote
Which IDE and version of VA are you using?
What sort of symbol are you renaming?

My initial reaction is that you should not be having this problem. There is a known problem, which should be fixed in the next build, where the refactoring hovering icon does not show for the first symbol you try it on after opening a file. But if you have been using the file for a while, and working in it, then this should not be happening to you.

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

pwaugh
Ketchup Master

USA
68 Posts

Posted - Apr 03 2007 :  6:31:55 PM  Show Profile  Reply with Quote
Build 1549.

It is not a new file ever, but happens to me often (not all the time, maybe 1 in 10 at most) when attempting to rename a method() in a class in the .h file. I didn't check this last one to see if I could get it on the .cpp file.

Just an irritation when I need to rename it, but I end up just doing it manually as I can't get the little arrow to show up.

Programming in C++

VA_X.dll 10.4.1626.0
Built 2008.01.17

(1-user license) Support ends 2009.01.29

DevEnv.exe version 9.0.21022.8
msenv.dll version 9.0.21022.8
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
Single processor
Platform: Win32
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Apr 04 2007 :  08:45:22 AM  Show Profile  Reply with Quote
I might be seeing the same thing here. I am just adding "Foo" to the end of method names in a class, sitting in a header file. After each manual rename the IDE status bar flashes very briefly, this should be VA displaying its message about reparsing the file. Do you see this?

Some times, perhaps 1 in 6 times hovering the mouse is not producing the icon, but if I move the mouse sideways a couple of characters and wait again then the hovering icon appears correctly.

Can you try this, and see if you see the same behaviour please?

You could also try mapping a keyboard shortcut to VAssistX.RefactorContextMenu and see if this is more reliable. This will open the menu directly, based on the current position of the caret, bypassing the need to hover the mouse.

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

pwaugh
Ketchup Master

USA
68 Posts

Posted - Apr 04 2007 :  11:37:20 AM  Show Profile  Reply with Quote
I tried this (adding Foo to the end of a method name in a .h) and was not able to get the hovering icon the first time, even after moving the mouse both a couple of characters, and after moving to another method and obtaining it there.

However, after an undo I was able to get it again, and on the next attempt of adding Foo, was able to get it immediately.

How do I map a key to VAssistX.RefactorContextMenu? Can you point me to an FAQ or in the general direction? I have no clue. =)

Thanks.

Programming in C++

VA_X.dll 10.4.1626.0
Built 2008.01.17

(1-user license) Support ends 2009.01.29

DevEnv.exe version 9.0.21022.8
msenv.dll version 9.0.21022.8
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
Single processor
Platform: Win32
Go to Top of Page

bugfix
Tomato Guru

Germany
324 Posts

Posted - Apr 04 2007 :  12:42:35 PM  Show Profile  Reply with Quote
maps.google.com/VAssistX.RefactorContextMenu
sorry, had a clown for breakfast:)

IDE->tools->options->environment->keyboard

http://www.mf-sd.de
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Apr 04 2007 :  2:47:27 PM  Show Profile  Reply with Quote
bugfix to the rescue again

pwaugh you *may* be seeing:

case=5682

which should be fixed in the next build. If this is the first time you have tried to trigger the refactoring icon in this file since starting the IDE then it probably is this bug.

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

pwaugh
Ketchup Master

USA
68 Posts

Posted - Apr 04 2007 :  8:24:05 PM  Show Profile  Reply with Quote
No, this is after having trigger that icon several times already, although the first in that .h file at the time I believe.

But no worries. I have a work-around that will keep me happy till the bug is crushed eventually. This program has saved me so much time already (hundreds of hours) I'm quite happy. =)

Programming in C++

VA_X.dll 10.4.1626.0
Built 2008.01.17

(1-user license) Support ends 2009.01.29

DevEnv.exe version 9.0.21022.8
msenv.dll version 9.0.21022.8
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
Single processor
Platform: Win32
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Apr 05 2007 :  07:08:26 AM  Show Profile  Reply with Quote
A work around is good. If you notice a pattern or trigger then I would be interested in hearing about it, it is always good when we can reproduce bug reports, it makes them easier to fix

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

pwaugh
Ketchup Master

USA
68 Posts

Posted - Apr 05 2007 :  3:48:32 PM  Show Profile  Reply with Quote
I have begun to notice that it is only happening (so far) when I go to make a .h change for the first time after a compile.

If I find out different, I"ll post. So, I think you are correct.

Programming in C++

VA_X.dll 10.4.1626.0
Built 2008.01.17

(1-user license) Support ends 2009.01.29

DevEnv.exe version 9.0.21022.8
msenv.dll version 9.0.21022.8
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
Single processor
Platform: Win32
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Apr 14 2007 :  12:31:14 AM  Show Profile  Reply with Quote
5682 fixed in build 1553.
Go to Top of Page

pwaugh
Ketchup Master

USA
68 Posts

Posted - Apr 15 2007 :  02:07:48 AM  Show Profile  Reply with Quote
Ok... Update on this.

I have found how to replicate this problem. Basically, when I type the object name and then the '.', I get the popup box. If I type the 'I' and it then highlights the appropriate method, and I hit return to accept that suggestion, it enters it on the line without the "()". However, if I down (or up) arrow to the entry in the popup below (or above) and then arrow back to it and press enter to accept it, it DOES enter it properly with the "()".

I was doing this with this code:

if ( allison.Ignited() )

I could repeat this by deleting to the period and then enter ".I" again.

I have installed VS SP1, and the release candidate.


Programming in C++

VA_X.dll 10.4.1626.0
Built 2008.01.17

(1-user license) Support ends 2009.01.29

DevEnv.exe version 9.0.21022.8
msenv.dll version 9.0.21022.8
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
Single processor
Platform: Win32
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Apr 16 2007 :  08:05:47 AM  Show Profile  Reply with Quote
This is a very clear description, but so far I cannot reproduce this bug. I tried using a std::string instance, and then tried using the following code in a cpp file:

class bracketsAdded
{
public:
	void Ignited()	{ ; }
	void getName()	{ ; }
	void getSize()	{ ; }
};

static void testBracketsAddedToFunction()
{
	bracketsAdded allison;
}


can you try copy / pasting this code into a cpp file and see if you can reproduce this problem?

It is possible there is something about the class you are using, or the listbox you are seeing that matters.

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

pwaugh
Ketchup Master

USA
68 Posts

Posted - Apr 16 2007 :  08:44:27 AM  Show Profile  Reply with Quote
Sorry, have no idea what to do with that code, and I'm a bit focused trying to get this product completed and on the market this week.

I declare my classes in a .h, then define them in a .cpp, then define objects in yet another .cpp file. My program is over 41K lines and has a couple of hundred files. The class is very simple, and exactly like others I use without problems structurally.

Programming in C++

VA_X.dll 10.4.1626.0
Built 2008.01.17

(1-user license) Support ends 2009.01.29

DevEnv.exe version 9.0.21022.8
msenv.dll version 9.0.21022.8
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
Single processor
Platform: Win32
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Apr 16 2007 :  09:54:16 AM  Show Profile  Reply with Quote
This if fair. Do you want to wait for a week, get the product shipped, and then return to this problem? Getting your product out the door is the more important thing here.

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