Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322478 - [Content Assist] invoke Content assist above some class declaration - strange behavior, built-in functions and classes are not suggested
Summary: [Content Assist] invoke Content assist above some class declaration - strange...
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Zhongwei Zhao CLA
QA Contact: Ilina Stefanova CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 04:37 EDT by Roy Ganor CLA
Modified: 2020-05-14 11:08 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.