Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Ctrl clicking symbols does not jump

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
chakie Posted - Jan 22 2015 : 02:51:39 AM
I like to use IDE:s where I can click on a symbol, method, class or whatnot and jump to it's definition. Any modern IDE does this automatically, but in Visual Studio you have to press F12 by default. Very annoying and slow, especially as the F keys on my MacBook are mapped to useful laptop features by default.

Visual Assist however has an option "Execute Goto upon left click" which should fix this perfectly.



This however rarely works. Sometimes left clicking on a symbol goes to the symbol definition, but usually is does simply nothing at all. Sometimes very rarely a popup is shown in case there are multiple possible places to jump to.

Anything I can do to fix this? Left clicking is such a fundamental piece of my workflow that having a half assed feature that works in 10% of the tested cases could just as well not be there at all.
9   L A T E S T    R E P L I E S    (Newest First)
chakie Posted - Jan 27 2015 : 04:07:00 AM
I will see what I can do.
feline Posted - Jan 26 2015 : 1:33:51 PM
You are out of support, but you are using the latest version of VA, so its still worth having a look. If we do find a fix at some point you would need to renew your maintenance to get it though.

Can you please turn on VA logging, then reproduce this problem a couple of times. Then use Alt-g on one of the symbols that Ctrl + left mouse click did not work on, for comparison. Now please close the IDE to stop the log files getting any larger. If we are lucky the log files will offer some clues as to what is going wrong here.

Please see this FAQ for details of turning on VA's logging, and sending us the log files

http://www.wholetomato.com/forum/topic.asp?TOPIC_ID=5489
chakie Posted - Jan 23 2015 : 6:03:52 PM
Oh, I see from that now that the support time has ended. Oh well, I was never prompted to extend it so obviously I have not done that. Please delete this thread as irrelevant.
chakie Posted - Jan 23 2015 : 6:02:08 PM
License: [email protected] (Non-renewable license) Support ends 2014.12.18
VA_X.dll file version 10.9.2052.0 built 2014.11.05
DevEnv.exe version 11.0.61030.0 Professional
msenv.dll version 11.0.61030.0
Comctl32.dll version 6.10.7601.17514
Windows 7 6.1 Build 7601 Service Pack 1
2 processors (x86-64, WOW64)
Language info: 1252, 0x409

Platform: Project defined
Stable Includes:
C:\\Program Files (x86)\\Windows Kits\\8.0\\Include\\winrt;
C:\\Program Files (x86)\\Windows Kits\\8.0\\Include\\shared;
C:\\Program Files (x86)\\Windows Kits\\8.0\\Include\\um;
C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\atlmfc\\include;
C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\include;

Other Includes:

Stable Source Directories:
C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\crt\\src;
C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\atlmfc\\src\\atl;
C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\atlmfc\\src\\mfc;

As I said, I run it in Parallels which is a virtual machine for OSX for running Windows. I run Windows 7. The zoom seems to be 199%. Not something I've fiddled with manually though.
The font seems to be set at 9 point with 191 pixels per inch.

feline Posted - Jan 23 2015 : 5:44:44 PM
Can you please go to:

VA Options -> System Info -> Copy Info

and paste the details (from the clipboard) into your reply. This will give us the basic information about your setup.

Are you running Windows natively, via some form of dual boot, or in a virtual machine? This should not matter, but something strange is going on here. Ctrl + left mouse click is performing goto reliably, every time, for me.

If you open the start menu and type in "display" you should get to:

Control Panel -> Appearance and Personalization -> Display

which gives your zoom level. What is this? Also, what do you have under "Set custom text size (DPI)"?

These directions are for Windows 7, which is what your screen shot looks like.
chakie Posted - Jan 22 2015 : 2:22:16 PM
Yes, I always seem to get the correct tooltip information (data type and any Doxygen I may have added to the symbol).

When ctrl-click fails the symbol is instead selected, so the mouse is over it. I run VS in Parallels on a 15" Macbook Pro with the retina screen, so it's fairly high DPI.
feline Posted - Jan 22 2015 : 2:17:35 PM
Well, at least its consistent, that's one small mercy. The fact that Alt-g is reliable tells us that VA is parsing the code correctly, so that suggests that the problem is the mouse position.

If you hover the mouse over the symbol are you seeing the correct information in any tooltips that appear?

If you show VA View, then place keyboard focus back into the editor, and now hover the mouse over one of the problem symbols is the correct information displayed?

Are you running windows with a high DPI? The screen shot suggests you might be. I am looking for anything that might be different about your system, anything that might be a clue.
chakie Posted - Jan 22 2015 : 1:30:12 PM
It either works immediately as it's supposed to (jump or show the alternatives) or it never jumps. Control-clicking several times then has no effect. I see the issue on methods, classes, enums etc. Quite basic C++ code, no template magic or weird stuff. It's also very arbitrary, now when I tested around a bit I had a member "unsigned int m_lastRead" that worked fine on one line in the .cpp file and not at all on the next line.

Alt-G seems to always work and jump to the correct place.
feline Posted - Jan 22 2015 : 12:16:26 PM
When this fails, does it fail reliably? If you Ctrl+Left click a second or third time, does VA then jump, or does it never jump on one of these problem symbols?

I am wondering if we are having a problem picking up the command, or if we are having a problem working out where to jump to.

Can you please try placing the caret into the symbol and then pressing Alt-G instead. This is the keyboard shortcut for the same command, so I am wondering if it shows the same problem, or if it actually jumps.

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