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 248198 - Code completion offers content of wrong folder in require cc
Summary: Code completion offers content of wrong folder in require cc
Status: VERIFIED FIXED
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:
Depends on:
Blocks:
 
Reported: 2014-10-26 14:06 UTC by Vladimir Riha
Modified: 2014-11-07 10:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample project (4.09 KB, application/zip)
2014-10-26 14:06 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-10-26 14:06:14 UTC
Created attachment 150121 [details]
sample project

Please check the attached project and open aaa.js. If you invoke cc in

var ee = require("./^");

then it offers folders from source folder: folder1, folder, main.js which is wrong.


Thank you


Product Version: NetBeans IDE Dev (Build 201410190001)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.13.0-37-generic running on amd64; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2014-11-03 15:00:18 UTC
Fixed in web-main. Thanks.
Comment 2 Quality Engineering 2014-11-04 10:33:54 UTC
Integrated into 'main-silver', will be available in build *201411040753* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a084bd14dc96
User: Petr Pisl <ppisl@netbeans.org>
Log: #248198 - Code completion offers content of wrong folder in require cc
Comment 3 Vladimir Riha 2014-11-07 10:41:45 UTC
Verified, thank you

Product Version: NetBeans IDE Dev (Build 201411070002)
Updates: Updates available
Java: 1.8.0_20; Java HotSpot(TM) Client VM 25.20-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)