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 245969 - Code completion for relative filesystem path offers wrong files
Summary: Code completion for relative filesystem path offers wrong files
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: RequireJS (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-24 14:49 UTC by Vladimir Riha
Modified: 2014-07-24 14:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample project (95.62 KB, application/zip)
2014-07-24 14:49 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-07-24 14:49:44 UTC
Created attachment 148290 [details]
sample project

Please check the attached project and open newFunction.js, it contains

define(["app/function", "../stdModule2"], function(funct ,pot) {

change it to

define(["app/function", "../"], function(funct ,pot) {

and invoke cc after the slash for the 2nd dependency, it offers files from app folder, while it should offer def folder instead




Product Version: NetBeans IDE Dev (Build 201407240001)
Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13
System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)