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: | Completion for file path offers unrelated folder | ||
---|---|---|---|
Product: | javascript | Reporter: | Vladimir Riha <vriha> |
Component: | Node.js | Assignee: | Petr Pisl <ppisl> |
Status: | NEW --- | ||
Severity: | normal | CC: | tmysik |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
sample project
sample project #2 |
Created attachment 151912 [details]
sample project #2
It can be pretty confusing if you are not 100% sure about the project structure. Please check the attached project and open Sources/modex/cc/test.js:
- if you invoke cc in require("^"), it should offer current folder + node_modules, but it also offers parent folders cc and modex
- if you invoke cc in require("../^"), it should just "cc" folder, but it also offers folders from project root
Product Version: NetBeans IDE Dev (Build 201502090001)
|
Created attachment 149724 [details] sample project Please check the attached project and open app/maingt.js. If you invoke cc at var o1 = require("../^folder/literal"); it offers folder src (Sources folder) which is not correct as "../src" does not exist. Thank you Product Version: NetBeans IDE Dev (Build 201410060001) 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)