Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353453 - [context] PDT, Mylyn, PHP files: Only invisible code elements below file level in the Mylyn task context
Summary: [context] PDT, Mylyn, PHP files: Only invisible code elements below file leve...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-30 12:03 EDT by Ralph Moenchmeyer CLA
Modified: 2020-05-14 11:18 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Moenchmeyer CLA 2011-07-30 12:03:11 EDT
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
Comment 1 Sam Davis CLA 2014-10-21 21:42:35 EDT
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.
Comment 2 Kaloyan Raev CLA 2014-10-22 02:53:25 EDT
Dawid, what do you think about this?
Comment 3 Dawid Pakula CLA 2014-10-22 06:51:59 EDT
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.
Comment 4 Kaloyan Raev CLA 2014-10-22 06:54:32 EDT
OK. Moving to PDT.
Comment 5 Eclipse Genie CLA 2015-05-06 18:15:35 EDT
New Gerrit change created: https://git.eclipse.org/r/47384
Comment 7 Dawid Pakula CLA 2015-05-07 18:00:34 EDT
.
Comment 8 Sylvia Tancheva CLA 2015-05-26 07:03:52 EDT
Verified. Elements show now. Closing