Author |
Topic  |
|
.oisyn
Tomato Guru
    
171 Posts |
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. |
|
feline
Whole Tomato Software
    
United Kingdom
19196 Posts |
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? |
zen is the art of being at one with the two'ness |
 |
|
feline
Whole Tomato Software
    
United Kingdom
19196 Posts |
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. |
zen is the art of being at one with the two'ness |
 |
|
.oisyn
Tomato Guru
    
171 Posts |
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. |
Edited by - .oisyn on Jul 16 2025 5:42:17 PM |
 |
|
feline
Whole Tomato Software
    
United Kingdom
19196 Posts |
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. |
zen is the art of being at one with the two'ness |
 |
|
|
Topic  |
|