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

Summary: Implement a hint for using import instead of require
Product: javascript Reporter: Christian Lenz <chrizzly>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: PC   
OS: Other   
Issue Type: ENHANCEMENT Exception Reporter:

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