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.

Bug 250329 - Code completion does not work for exported literal in inner scope
Summary: Code completion does not work for exported literal in inner scope
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Node.js (show other bugs)
Version: 8.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-10 09:31 UTC by Vladimir Riha
Modified: 2015-04-03 11:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample project (3.77 KB, application/zip)
2015-02-10 09:31 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2015-02-10 09:31:42 UTC
Created attachment 151913 [details]
sample project

Please check the attached project, open s1.js and try code completion inside the function for "ut2.". It does not work but it works for "ut." which is declared using "exports.myProperty = " while "ut2" uses "module.exports = {}" approach.


Similar problem is in files s2,s3,s4

Thank you



Product Version: NetBeans IDE Dev (Build 201502090001)
Java: 1.7.0_75; Java HotSpot(TM) Client VM 24.75-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_75-b13
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2015-03-27 13:08:00 UTC
Fixed all cases in web-main.
Comment 2 Quality Engineering 2015-03-28 08:19:49 UTC
Integrated into 'main-silver', will be available in build *201503280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/01abb811eecf
User: Petr Pisl <ppisl@netbeans.org>
Log: #250329 - Code completion does not work for exported literal in inner scope
Comment 3 Vladimir Riha 2015-04-03 11:19:48 UTC
Thank you, verified

Product Version: NetBeans IDE Dev (Build 201504030001)
Java: 1.8.0_40; Java HotSpot(TM) Client VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)