"Jump to definition" with PHP works only after browser page reload?


#1

Hi,

I thought that “jump to definition” with PHP does not work. But I think I’ve encountered a bug. It seems as if the needed indexing process is not done in the background? “Jump to definition” does only work if I reload cloud9 in the browser.

steps to reproduce:

create two files like this:

If you hold CMD and left-click on HelloWorld::test(); it jumps to the class definiton, but not to the function definition.

Reload the browser with CMD+R.

Then it works.


"Find usages" for PHP