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
 [1731] RefactorContextMenu doesn't invoke CFUsage
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Maxim
Ketchup Master

59 Posts

Posted - Aug 20 2009 :  06:23:12 AM  Show Profile  Reply with Quote
VA_X.dll file version 10.5.1731.0 built 2009.08.19
MSDev.exe version 6.0.9782.2
Devshl.dll version 6.0.9782.0
Devedit.pkg version 6.0.9782.0

I have a keystroke bound to VAssistXRefactorContextMenu. It does nothing on the "mistyped symbols", I have to mouse over to reveal the little triangle thimgumajig and click on that to get my create from usage options.

Binding a key to VAssistXCreateFromUsage works fine, so it's not an issue with VAX knowing what token is under the cursor.

(The keystroke bound to VAssistXRefactorContextMenu also fails sometimes, especially on 1-letter variables.)

(50-char subject limit makes it hard to describe it!)

Edited by - Maxim on Aug 20 2009 06:23:42 AM

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Aug 20 2009 :  1:38:58 PM  Show Profile  Reply with Quote
Don't try to get the full problem description into the subject, it is never going to work that well

So far I cannot reproduce this problem. Can you post some sample code that shows the problem please?
Also what keyboard shortcut have you bound to the command VAssistXRefactorContextMenu

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

Maxim
Ketchup Master

59 Posts

Posted - Aug 21 2009 :  06:58:44 AM  Show Profile  Reply with Quote
Oddly it seems to be working sometimes today. I have it bound to Ctrl+Enter.

Here's some code, in a plain file on its own:
void foo()
{
	bar = 1;
	reticulateSplines();
}


It looks like the keystroke fails if the cursor is before the last two characters in the symbol name; it fails on the 'a' and 'r' in "bar", and on the final 'e' and 's' in "reticulateSplines". I wouldn't expect it to work if placed at the end of a symbol.

If I notice a case where I can't get it to appear at all I'll post again.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Aug 21 2009 :  3:38:06 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=31320

You can access Create From Usage from the Shift + Right click menu -> Refactoring sub menu with the caret near the end of the symbol if that helps, or just move the caret to earlier in the symbol name.

You can trigger the menu with the keyboard shortcut when the caret is at the end of the symbol in VS2005 and it works correctly.

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

support
Whole Tomato Software

5566 Posts

Posted - Sep 10 2009 :  3:19:10 PM  Show Profile  Reply with Quote
case=31320 is fixed in build 1734

Whole Tomato Software, Inc.
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