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: | Netbeans fails to see variable type | ||
---|---|---|---|
Product: | php | Reporter: | antoniocs <antoniocs> |
Component: | Code | Assignee: | issues@php <issues> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P1 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Windows 10 x64 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | var hint issue |
To note that I just tried with the full path: /* @var $studentClass AppBundle\Entity\StudentsClass*/ $studentClass = $event->getData(); And /* @var $studentClass \AppBundle\Entity\StudentsClass*/ $studentClass = $event->getData(); Still nothing! On another note, if I ctrl+click on the StudentsClass netbeans opens the entity file. So it seems netbeans can get to the file it just can't auto complete the methods... |
Created attachment 165106 [details] var hint issue I have the following code: /* @var $studentClass StudentsClass */ $studentClass = $event->getData(); The StudentsClass is defined as: use AppBundle\Entity\StudentsClass; But there is never any auto completion on the variable. I have attached a screenshot of this happening (yes the code is in a lambda, still think netbeans should pick up the class definition)