When I add a class to the requires-array by using the quick-fix option from the sencha plugin, the plugin creates an additional comma in the next line of the closing square bracket.
OS: Windows 7
IDE: IntelliJ IDEA 2018.3.4
Toolkit: Classic
ExtJS Version: 6.6.0
How to reproduce:
- Create a new class
- Add something that needs to be required (e. g. layout: { type: 'hbox' })
- Use the quick fix to add to the requires array
The result should be something like this:
Code:
...
requires : [
'Ext.layout.container.HBox'
],
,
layout : {
type : 'hbox'
}
...