| Summary: | [Content Assist] no content assist for special methods | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Roy Ganor <ganoro> |
| Component: | PDT | Assignee: | PHP Core <php.core-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | gadi |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
Hi Roy
I saw the following code in ClassMethodsStrategy(line 93)
if (!magicMethods.contains(method.getElementName())
&& !isFiltered(method, concreteContext)) {
result.add(method);
}
Why?Is it intentional?
fixed in head,and all magic methods will be listed in the bottom of the proposal list. [Petyo Tanchev] Tested on 2.2.1 SR1 Fixed |
Consider the following code: ------------------------ <?php class toto { public function __toString() { echo "toto"; } public function myfunc() { $this-> // No CA for magic methods here } } $o = new toto (); $o-> // No CA for magic methods here ?> ------------------------