Cannot find declaration to go to

Hi, I have open a remote repository (one of our development machines) using SSH, and everything works - except one major feature:

The "Go to".

I get a constant error saying "Cannot find declaration to go to" when I try to jump around in our codebase, and I don't know what to do:

I am working in the "RemoteHost" tree, and if this is an issue - can I setup any kind of replication from the remote directory, and auto-upload on save? Since my local machine has no way of connecting to the remote git server I really need all code to be executed at the develop machine, otherwise I'm not able to debug it.

I need this feature bad, and it works like a charm in VSCode.

 

I had a look at these without any luck:

https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000092684-Cannot-find-declaration-to-go-to-PHPStorm-?input_string=Cannot%20find%20declaration%20to%20go%20to

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360005050480-Cannot-find-declaration-to-go-to-solved-?input_string=Cannot%20find%20declaration%20to%20go%20to

0
2 comments

PhpStorm doesn't index remote sources, thus it has no idea how to navigate within them.
It's this request: https://youtrack.jetbrains.com/issue/IDEA-226455

Currently, you are supposed to download the full project and then upload your changes back with a deployment configuration:
https://www.jetbrains.com/help/phpstorm/creating-a-remote-server-configuration.html

0
Avatar
Permanently deleted user

Ah, great answer!

I upvoted the feature, since it's kind of essential, but the second link might as well solve my problem for now.

MANY thanks to you, sir!

0

Please sign in to leave a comment.