filesearchphpstormremote-host

Search in all project files on remote host in PhpStorm


I have lots of files in a project on a remote host and I want to find out from which file another php file is called. Is it possible to use Ctrl+Shift+f search on a remote host project?


Solution

  • Is it possible to use Ctrl+Shift+F search on a remote host project?

    Currently it's not possible. (2022-06-09: now possible with remote development using JetBrains Gateway, see at the end)

    Therefore it makes much more sense to download your project (all or desired files only) locally and then execute such search(es) on local files.


    If it has to be purely remote search (when nothing gets downloaded locally)... then you just establish SSH/RDP/etc connection to that remote host (BTW: PhpStorm has built-in SSH Console functionality) and execute such search directly on the remote server with OS native tools (find/grep and alike) or some remote software (e.g. mc or notepad++).


    P.S. (on related note)

    Some of the disadvantages when doing Remote Edit: https://stackoverflow.com/a/36850634/783119


    EDIT 2022-06-09:

    BTW, JetBrains now has JetBrains Gateway for remote development where you run the IDE core on a remote server and connect to it via SSH using a local dedicated app or a plugin to your IDE (PhpStorm comes bundled with such a plugin since 2021.3 version).

    To check more on JetBrains Gateway: