I can ctrl + click and it goes to the declaration in the php, like this:

enter image description here

The problem is, my files do not only have php. It doesn't work with javascript functions as you can see:

enter image description here Is there any extension that make it work with javascript? I know there is an extension that works for css, and I'm using it.


Try Ctrl+Click Go To Definition extension

| improve this answer | |
  • this extension was incorporated in vscode. It should work like that, but in this case only works to php functions, and not javascript – Pedro Henrique Bufulin de Alme Oct 3 '19 at 0:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.