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 PHP Intelephense

  1. Go to VS code editor.
  2. In editor, Press Ctrl+Shift+X
  3. Extension window will appear on the left side of the editor
  4. On 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 definition by pressing F12

No comments:

Post a Comment