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.
Summary: | Wrong completion for files/modules in child directory | ||
---|---|---|---|
Product: | javascript | Reporter: | Vladimir Riha <vriha> |
Component: | RequireJS | Assignee: | Petr Pisl <ppisl> |
Status: | REOPENED --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | sample project |
Description
Vladimir Riha
2014-06-13 13:23:14 UTC
Created attachment 147667 [details]
sample project
Should be fixed in web-main. I'm sorry but define([""], function(e){ window.console.log("fs..."); window.console.log(e); }) in the bbb/fs.js still does not offer files/folders as if invoked from main.js instead it offers items from bbb folder. Product Version: NetBeans IDE Dev (Build 201406190001) 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-29-generic running on i386; UTF-8; en_US (nb) FYI similar issue is when you use define([], function(){ var moduleA = require(""); }); in file "test.js" in project with structure: - Site Root/main.js - the main RequireJS config file - Site Root/js/app/c/test.js then if you invoke cc inside the double quotes in require(""), it should offer paths relative to main.js, not test.js Product Version: NetBeans IDE Dev (Build 201407010002) |