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 249284 - Code completion for directory in empty quotes completes relative path
Summary: Code completion for directory in empty quotes completes relative path
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: RequireJS (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-11 09:13 UTC by Vladimir Riha
Modified: 2014-12-11 17:04 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 2014-12-11 09:13:31 UTC
Please try:
 - download [1]
 - open main.js
 - on line 19, in empty double quotes, invoke cc and select&confirm "app"
=> result is "./app/" , while it should be "app/"

Thank you


[1] http://services.netbeans.org/synergy/server/api/attachment.php?id=210


Product Version: NetBeans IDE Dev (Build web-main-1680-on-20141211)
Java: 1.7.0_71; Java HotSpot(TM) Client VM 24.71-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_71-b14
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2014-12-11 17:04:09 UTC
In this case I can recognized from the file, that the app folder is a root for the module path. But if the file will be empty, I'm not sure, whether I'm able to find out way (except defining base path and mappings) how to know, whether the path should start with ./ or not.