Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Ctrl+Click goto also works when Alt is pressed

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
.oisyn Posted - Jul 07 2025 : 07:59:30 AM
When "Execute <command> on Ctrl+Left-Click in text editor" is enabled, it also fires when Alt is pressed together with Ctrl.

This is annoying, because Ctrl+Alt+Click is also used for multicursor editing. It becomes impossible to add an extra cursor on an identifier as the Goto command is then activated.
4   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 17 2025 : 11:48:25 AM
Ah, yes, thank you for finding that pattern. This makes a lot more sense of what is happening here. I am seeing the same problem, quite reliably now, in both VA 2556.0 (old options dialog) and VA 2568.0 (new options dialog), so its not actually a function of the new options dialog.

case=165943

That was definitely a bit tricky to pin down.

At least between the VA options and the IDE option we can probably work around this, depending on exactly what you want to achieve here.
.oisyn Posted - Jul 16 2025 : 5:40:04 PM
Sorry, forgot all about this.

Yeah I have VS's own "Enable mouse click to go to definition" disabled under Settings -> Text Editor -> General. I'm currently on my home PC, I agree it's much harder to repro here than on my work laptop. Very sporadicly it seems to issue the Goto command when Alt is also pressed. I'll report back tomorrow with the requested data when I'm on my work laptop again.

.edit: Oh wait, the repro case is a bit different here. When doing Ctrl+Alt+Click anywhere, it seems to want to go to the symbol that the cursor is already on (and not the thing your clicking on)! It then goes to the definition of the symbol and selects it fully, AND it adds an extra caret where you clicked.
feline Posted - Jul 08 2025 : 11:13:46 AM
The closest I can get to reproducing this on demand at the moment sometimes shows the symbol that is being clicked in, and that I am jumping From (as if doing an Alt-G) underlined, like it was a hyperlink. This seems to be the IDE setting:

IDE Options -> Text Editor -> General -> Enable mouse click to perform Go to Definition

which suggests that for me at least, there is an element of VS2022 and VA fighting for control of Control+Left mouse click, and Control+Alt+Left mouse click.
feline Posted - Jul 07 2025 : 1:09:15 PM
Creating multiple keyboard caret might be more tricky with the new version of VA, I am not quite sure if its my test, or real, but I am having problems reproducing this on demand here.

I thought I had reproduced this problem, so checked which build introduced the problem, and now I cannot reproduce the problem. So I am not sure if I have done something silly, or if a specific setting matters.

Can you please export your VA and IDE settings and send them to me:

VA Options -> Advanced -> Logging and Recovery -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings

I can then import them here and see if I can reproduce the problem.

Also I am assuming you are seeing this in VS2022, is that correct?

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