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: | No code completion for Instance of module exporting constructor | ||
---|---|---|---|
Product: | javascript | Reporter: | Vladimir Riha <vriha> |
Component: | Node.js | Assignee: | Petr Pisl <ppisl> |
Status: | NEW --- | ||
Severity: | normal | CC: | tmysik |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Vladimir Riha
2014-12-05 15:02:59 UTC
Reproducible. This can be reproduced even without Node (require): Consider following cases (notice the name of function A in case [1] and no name in [2]): [1] demo.Modul = function A(){ this.pokus = 1; }; and [2] demo.Modul = function(){ this.pokus = 1; }; Then: var X = demo.Modul; var x = new X(); x.| // in case [1] pokus is NOT offered, while in [2] pokus IS offered. ---- Same applies for the original issue here. |