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:

  1. Create a new class
  2. Add something that needs to be required (e. g. layout: { type: 'hbox' })
  3. Use the quick fix to add to the requires array

The result should be something like this:


  requires : [

  layout : {
    type : 'hbox'