Go to definition in VSCode not working in PHP

 Go to Definition or F12 is not working in VSCode in PHP environment. The easy solution is to install PHP Intelephense

  1. Go to VS code editor.
  2. In the editor, Press Ctrl+Shift+X
  3. Extension window will appear on the left side of the editor
  4. On the Top search bar, write PHP Intelephense and search
  5. Currently PHP Intelephense 1.7.1 version is appearing. Click on it and install


Now you can go to the definition by pressing F12 in VSCode Editor.

Post a Comment

0 Comments