This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Code completion doesn't work in some cases | ||
---|---|---|---|
Product: | php | Reporter: | Alexei Mokeev <av-nb> |
Component: | Editor | Assignee: | Ondrej Brejla <obrejla> |
Status: | NEW --- | ||
Severity: | normal | CC: | Bazis007, fzamboj |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: |
No Code Completion screenshot
Project for reproduction |
Created attachment 97083 [details]
Project for reproduction
reproducible in Product Version: NetBeans IDE Dev (Build 100413-fd4a353d2a3a) this should be fixed before 6.9 is out because it may be deeper problem. global variables and their types are not intentionally offered in CC, because there might be tons of global variables with the same name and as a result we would need to offer merge of their possible types. Not sure => many times discussed, many times rejected/not implemented. So, any idea? Merge the types? As a variant it is possible to use type of the last found global variable, or add ability in IDE to set type of variable manualy. Also i am notice, Eclipse PDT haven't smilar problem. Maybe it makes sense to borrow their experience? batch reassigning |
Created attachment 97082 [details] No Code Completion screenshot This bug was reported by an attendee of STD in St. Petersbug. Please refer to the attached project for reproduction. Steps: 1. Open attached project 2. Open starter.inc.php 3. Add a line below "trace("Starter Loading Completed");" and type "$former" You will see that it's known and correctly refers class.former.inc.php add -> and try to invoke code completion - nothing found. Original reported also stated that sometimes completion works in similar situations, but only after some time of active work in the ide.