Steps to Reproduce:
Reproduces without extensions: Yes/No
A few questions to help investigate:
go to definition command work?--disable-extensions command line flag, do you still see the issue?Also, please share some sample code
Following are my answers to your questions
Does running the go to definition command work?
If you disable all extensions by starting code with the --disable-extensions command line flag, do you still see the issue?
F12 is working as expected, but not Ctrl + Click.Example code in Javascript:
Function Definition:
var myfunction = function () {//function definition goes here // ..};
Function Invocation:
myfunction();
In my function invocationmyfunction(), If I useF12 it's navigating to the function definition. But If I use the combination Ctrl + Click (Mouse click) it's not navigating to that definition.
In earlier version I used with this combinations Ctrl + Click, it was working fine, but now it's not working.
Thanks @rajeshsivananth. Since the command works, the issue is probably with the click binding. On linux, I believe that ctrl + click may be bound to add cursor instead. Try setting:
"editor.multiCursorModifier": "alt",
Here's more info about this behavior: https://code.visualstudio.com/updates/v1_13#_add-multiple-cursors-with-ctrl-cmd-click
@rajeshsivananth as @mjbvz notes, ctrl + click is something the OS eats up in order to move windows by default. So I'm not sure how this stopped working from one VS Code version to another, unless there were some other changes in your environment.
Thanks @mjbvz and @alexandrudima . Just seen the settings.json file.
And I can see the following property,
"editor.multiCursorModifier": "ctrlCmd".
After removing "editor.multiCursorModifier": "ctrlCmd" from settings.json under User settings. it is working as expected.
Most helpful comment
Thanks @mjbvz and @alexandrudima . Just seen the
settings.jsonfile.And I can see the following property,
After removing
"editor.multiCursorModifier": "ctrlCmd"fromsettings.jsonunder User settings. it is working as expected.