|How to setup PHP project using Eclipse Remote System Explorer [message #1774191]
||Wed, 11 October 2017 13:44
| Stefan D
Registered: October 2017
When working on the local machine I can simply setup a new PHP project within Ecplipse and everything works fine: Syntax highlighting, marking of occurrences, the refactor tool, etc.|
However, now I not work the local machine but I use the `Remote System Explorer` in `Eclipse Oxygen` to directly work on the remote file system of my server using SSL. This works fine, it is no problem to open and edit a file and the changes are automatically saved on the server (no need to manually down- or upload anything).
However the "higher" editing features seem not work with using the Remove System Explorer. For example occurrences of variables, methods, etc. are not marked and when trying to use the refactor tool to rename a variable/class/method the following error pops up:
The operation is not applicable to the current selection.
Select a PHP project, source folder, resource, PHP file, class, variable function or parameter.
Also this is done within a file within the tags, Eclipse seems to be unable to recognize the file as PHP file.
Of course it makes sense, that Eclipse cannot automatically determine which files on the server do belong to the project and which don't. Thus renaming across different files is not possible, but why does renaming within a class or method fails as well?
Is there any way to tell Eclipse which folders and files on the remote system belong to a project to work with the remote files in exactly the same way as on the local system?
Powered by FUDForum
. Page generated in 0.02174 seconds