Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Remote system content assist problem(Missing native PHP functions)
Remote system content assist problem [message #1061148] Thu, 30 May 2013 08:36 Go to next message
Guy Balzac is currently offline Guy Balzac
Messages: 3
Registered: February 2011
Junior Member
The content assist is missing native PHP functions when I edit a file on a remote system, for example:

index.php/fa/15092/0/

Content assist works correctly for a file in a local project, for example:

index.php/fa/15091/0/

What do I need to do to make content assist show native PHP functions when editing a remote file?

[Updated on: Thu, 30 May 2013 08:37]

Report message to a moderator

Re: Remote system content assist problem [message #1061161 is a reply to message #1061148] Thu, 30 May 2013 10:07 Go to previous message
Guy Balzac is currently offline Guy Balzac
Messages: 3
Registered: February 2011
Junior Member
After a bit of research I found the solution:

Edit the .project file in the 'RemoteSystemsTempFiles' folder in the workspace and add :

<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>org.eclipse.php.core.PHPNature</nature>

within the <natures> tag. For example:

<natures>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>org.eclipse.php.core.PHPNature</nature>
<nature>org.eclipse.rse.ui.remoteSystemsTempNature</nature>
</natures>
Previous Topic:Projects missing on Samba share on Eclipse launch
Next Topic:What is a facet?
Goto Forum:
  


Current Time: Wed Oct 01 06:21:43 GMT 2014

Powered by FUDForum. Page generated in 0.05976 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software