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 249851 - Wrong completion after require()
Summary: Wrong completion after require()
Status: RESOLVED WORKSFORME
Alias: None
Product: javascript
Classification: Unclassified
Component: Node.js (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2015-01-16 09:57 UTC by Vladimir Riha
Modified: 2015-04-30 09:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample project (14.71 KB, application/zip)
2015-01-16 09:57 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-01-16 09:57:16 UTC
Created attachment 151543 [details]
sample project

Please check the attached project:
 - open cc/foo.js
 - on last line, type

require('../complexModule')

 - type dot
 => Car should be offered but it is not. This used to work in 201412160001. 


Thank you



Product Version: NetBeans IDE Dev (Build 201501160001)
Java: 1.7.0_67; Java HotSpot(TM) Client VM 24.65-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_67-b01
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 1 Roman Svitanic 2015-04-30 09:18:04 UTC
CC works in the current dev build according to the description of expected result.

Product Version: NetBeans IDE Dev (Build 20150429-dbfa5313bcfb)
Java: 1.7.0_75; Java HotSpot(TM) 64-Bit Server VM 24.75-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_75-b13
System: Mac OS X version 10.10.3 running on x86_64; UTF-8; en_US (nb)