Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsCtrl+click (PHP Code Hyperlink Detector) and Content Assist do not work in PHP Project
https://www.eclipse.org/forums/index.php/mv/msg/317119/829656/#msg_829656
However, upon upgrading to Eclipse PDT Indigo (3.0.2.v2011102768), this functionality disappeared.
When I started Indigo for the first time, I chose my existing workspace (the one that was created with Helios).
Is there some fundamental incompatibility between major versions that would cause these features to fail when an "old" workspace is used in a newer version of Eclipse PDT?
Because I created a new workspace with Indigo, and tried creating a new project, and these project features function as expected. But as soon as I open the workspace with Helios, Eclipse seems to make some change to the workspace that causes these feature not to work in Indigo anymore.
My assumption was that I could open my existing workspace with either version of Eclipse PDT and have these features be available.
I examined the .project and .buildpath files in both workspaces/projects and they are identical. This seems to indicate that the problem is not with either of these files.
Basically, at this point, I'm trying to save myself the trouble of having to recreate several dozen projects (that were created with Helios) in Indigo.
I tried Importing the old projects from within Indigo and Ctrl+click and content-assist do indeed function as expected. So, in the worst case, I'll import all of my projects.
While this may be academic at this point, I'm curious if anyone may have insight. Perhaps it is completely unreasonable to expect that disparate versions of Eclipse PDT will be able to utilize the same workspace(s) without causing problems.]]>Ben Johnson2012-03-26T15:51:51-00:00Re: Ctrl+click (PHP Code Hyperlink Detector) and Content Assist do not work in PHP Project
https://www.eclipse.org/forums/index.php/mv/msg/317119/831499/#msg_831499
It seems safe to say that there is a fundamental incompatibility between old and new projects (at least between Helios and Indigo) that affects code auto-completion and hyperlink detection for functions/methods, etc.
To reiterate, the solution is to recreate the project (Export and then Import does indeed work) in the newer version of Eclipse.]]>Ben Johnson2012-03-29T01:04:40-00:00Re: Ctrl+click (PHP Code Hyperlink Detector) and Content Assist do not work in PHP Project
https://www.eclipse.org/forums/index.php/mv/msg/317119/836662/#msg_836662
Quote:
It seems safe to say that there is a fundamental incompatibility between old and new projects (at least between Helios and Indigo) that affects code auto-completion and hyperlink detection for functions/methods, etc.
The fundamental incompatibility is not with projects, it is with workspaces. As soon as I create a new workspace, these features function as expected, whether I recreate the project or import it.
So, to be clear, the solution is to create a new workspace in the newer version of Eclipse, and then recreate or import projects.
One would think Eclipse capable of "upgrading" workspaces, if necessary, although that may preclude the workspace from functioning should it be opened with a previous version of Eclipse (at least when absent strict compatibility rules).]]>Ben Johnson2012-04-04T19:13:50-00:00