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 270136 - Implement a hint for using import instead of require
Summary: Implement a hint for using import instead of require
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: Dev
Hardware: PC Other
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-20 13:29 UTC by Christian Lenz
Modified: 2017-03-20 13:29 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 Christian Lenz 2017-03-20 13:29:38 UTC
As WebStorm can show you the hint, if you use require, you can choose to refactor the code to es6 imports. Please add such feature too. It will be a JS hint with a fix of the code I think. I don't know whether it is needed to know the context (properties of the project -> ES6 support or not).


Regards

Chris