Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 [1731] RefactorContextMenu doesn't invoke CFUsage

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Maxim Posted - Aug 20 2009 : 06:23:12 AM
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!)
4   L A T E S T    R E P L I E S    (Newest First)
support Posted - Sep 10 2009 : 3:19:10 PM
case=31320 is fixed in build 1734
feline Posted - Aug 21 2009 : 3:38:06 PM
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.
Maxim Posted - Aug 21 2009 : 06:58:44 AM
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.
feline Posted - Aug 20 2009 : 1:38:58 PM
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

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000