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 254011 - Completion for modules completes relative path
Summary: Completion for modules completes relative path
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: RequireJS (show other bugs)
Version: 8.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-30 15:28 UTC by Vladimir Riha
Modified: 2015-08-04 01:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2015-07-30 15:28:49 UTC
Please download http://services.netbeans.org/synergy/server/api/attachment.php?id=210 and open main.js. It contains line with:

requirejs(['jquery', "piwik", "app/function", "app/newFunction", "app/objectLiteral", "app/stdModule", ""],

invoke cc in the last empty quotes and select e.g. app

=> the result is 

./app/

while it should be

app/


Thank you


Product Version: NetBeans IDE 8.1 Beta (Build 201507292201)
Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14
System: Linux version 3.16.0-30-generic running on amd64; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2015-08-03 14:08:10 UTC
Fixed in web-main.
Comment 2 Quality Engineering 2015-08-04 01:15:44 UTC
Integrated into 'main-silver', will be available in build *201508040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/86c594661e92
User: Petr Pisl <ppisl@netbeans.org>
Log: #254011 - Completion for modules completes relative path