Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322478

Summary: [Content Assist] invoke Content assist above some class declaration - strange behavior, built-in functions and classes are not suggested
Product: z_Archived Reporter: Roy Ganor <ganoro>
Component: PDTAssignee: Zhongwei Zhao <zhaozhongwei>
Status: CLOSED WORKSFORME QA Contact: Ilina Stefanova <ilina.s>
Severity: normal    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Roy Ganor CLA 2010-08-12 04:37:14 EDT
Have the following code in php file:
<?php
| //<-- cursor position
class Test{

}
Save the file, then go to cursor position, type the first two chars of some built-in function/class.
You will have for example:

<?php
cl| //<-- cursor position
class Test{

}

Content Assist popped-up

Actual:
The php templates and built-in constants only are suggested in CA list.

Both built-in functions and classes are not suggested.
Comment 1 Zhongwei Zhao CLA 2010-08-15 21:59:33 EDT
is your php file not in the build path or an external file?
Comment 2 Zhongwei Zhao CLA 2011-05-05 04:12:02 EDT
works for me
Comment 3 Ilina Stefanova CLA 2011-08-02 01:35:56 EDT
Verified.