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.
Created attachment 148358 [details] sample project Please check the attached project and open app.js. If you invoke cc after "e." at line 13, it offers properties "eeeee" and "src" which comes from req.js (line 622) but this variable is declared in different scope. Code completion also offers methods based on variable name like require() and configure() but theirs help contain the information that "This item can be unrelated. It's obtained from full project name usage." and file name in cc window is grey. But that's not the case with the properties. Product Version: NetBeans IDE Dev (Build 201407280405) Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13 System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)
Would be nice to fix it for 801. Thank you
Fixed in web-main.
Integrated into 'main-silver', will be available in build *201407300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/da426d75af96 User: Petr Pisl <ppisl@netbeans.org> Log: #246060 - Code completion offers properties from other variable
Thank you, verified Product Version: NetBeans IDE Dev (Build 201407300001) Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13 System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)