Community
Participate
Working Groups
Build Identifier: EclipsePdt 2.2.0.v20100517 Content Assist does not suggest built-in functions, constants and classes in Untitled php document. Reproducible: Always Steps to Reproduce: 1. Go to main menu | File | New | Untitled PHP file 2. An untitled php file is opened in editor. 3. Try Content Assist (Ctrl+Space) in the editor: Expected: The following items should be suggested: -PHP keywords -PHP Templates -global variables -built-in functions -built-in constants -built-in classes Actual: PHP keywords, PHP Templates and global variables are suggested only.
No idea about how to fix this,this is the same as File->Open File... then choose a external php file,you can only get PHP keywords, PHP Templates and global variables for CA. Because they do not belong to any php project.
With untitled(external) files we cannot detect PHP version. Alternative way is hidden .externalPHPProject with PHPNature and default PHPVersion (like in DLTK for ExternalSourceModule). Next, auto connect untitled/external files into this. Off course if this is possible with DLTK.