Community
Participate
Working Groups
Build Identifier: Build id: I20110613-1736 (Eclipse version 3.7.0) I use Eclipse Indigo with PDT 3.0, Mylyn and PDT Mylyn 3.0. From all I had read about Mylyn I expected to get specific code elements in the context of tasks when working with PHP files and activated, context sensitive tasks. Actually, the task context shows the PHP files opened in the tree structure of the PHP explorer. However none of the code elements below the file level - e.g. classes, member functions etc. - are shown as visible. This is independent of the filter granularity. However, a number of elements are listed in the box for invisible elements. When I use the outline functionality e.g. of the PHP explorer and click on some code element there, this code element is added to the the list of invisible context elements. So, the context is sensitive to code elements. However, it does not display them and lists them only as invisible. I assume this is a bug. But maybe I need to install something more ? Reproducible: Always Steps to Reproduce: 1. Use PDT 2. Generate a PHP project with PHP files, classes etc. 3. Open PHP explorer 4. Open the task list and generate a task 5. Activate it and make it context sensitive 6. Open a php file, e.g. containing a class, via the PHP explorer. 7. Watch the context of the task 8. The opened files will be shown in the context 9. Click via the outliner on some member function or other code elements 10. The code elements will only be shown in the box for invisible elements 11. Try to adjust the glider for the granularity of elements shown - no effect for code elements below file level
I think this is a bug in the PDT/DLTK Mylyn bridge. It sounds like it is not giving code elements a high enough degree-of-interest value.
Dawid, what do you think about this?
Kaloyan, I think problem may by in PDT directly, because we aren't using standard DLTK ScriptEditor but WTP StructuredTextEditor. But, I have to investigate it.
OK. Moving to PDT.
New Gerrit change created: https://git.eclipse.org/r/47384
Gerrit change https://git.eclipse.org/r/47384 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=4f3e6553915861e04c38b1276747cbf96ea9b84f
.
Verified. Elements show now. Closing