Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode Ctrl + Click

Tags:

I have an issue with VSCode IDE.

Language used: PHP 5.6

IDE Version: 1.19.2

OS: Ubuntu

I cannot use Ctrl + Click to go to the function definition.

I have tried setting "editor.multiCursorModifier": "alt" in the settings but that does not help.

Anyone familiar with this issue? Please help.

like image 517
Red Bottle Avatar asked Feb 12 '18 12:02

Red Bottle


People also ask

What is Ctrl K in VS Code?

To launch the Define Keybinding widget, press Ctrl+K Ctrl+K. The widget listens for key presses and renders the serialized JSON representation in the text box and below it, the keys that VS Code has detected under your current keyboard layout.

What does Ctrl Shift P do in VS Code?

1. Ctrl+Shift+P, F1 ⮕ Show Command Palette. This shortcut opens the command palette in the vs-code, where we can search for the other commands.

What does Ctrl space do in VS Code?

You can trigger IntelliSense in any editor window by typing Ctrl+Space or by typing a trigger character (such as the dot character (.) in JavaScript).


2 Answers

Make sure you have "PHP IntelliSense" Extension and "php.executablePath" set to PHP bin file.

p.s. VSCode is not IDE, it is only code editor and support for PHP is poor.

like image 137
ViliusL Avatar answered Oct 17 '22 07:10

ViliusL


Remove these settings from setting.json

"editor.multiCursorModifier": "ctrlCmd" & "editor.multiCursorModifier": "alt" 
like image 29
Ankit Kumar Rajpoot Avatar answered Oct 17 '22 05:10

Ankit Kumar Rajpoot