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 270319 - Please add feature to fix imports for modules
Summary: Please add feature to fix imports for modules
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: Dev
Hardware: PC Other
: P3 normal with 1 vote (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-07 07:19 UTC by ChrisLE
Modified: 2017-04-07 07:19 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ChrisLE 2017-04-07 07:19:51 UTC
When I use my class "MyStuffClass" from a exported module and I type MyStuffClass in an file, the JS editor should be context aware and first should show me ah hey i found MyStuffClass and it is in this module MyStuffModule.js. When I hit enter it should write MyStuffClass and add an import at the beginning of the file, like in Java. If I write it down, without using code completion, then there should be an option to fix imports for all and for the specific one, when I select the class and hit alt + enter.


Regards

Chris