joeyjiron06 / intellij-auto-align

A code formatter intellij plugin
0 stars 2 forks source link

colon is checked before equals #3

Closed joeyjiron06 closed 8 years ago

joeyjiron06 commented 8 years ago

I have an issue when aligining this:

original :

  let defaultParams = DCHelper.getDefaultParams({SENTV_TYPE : FILTERS.SENTV_TYPE.MOVIES});
  let dc = DiscoverListDC.create({
    title      : title,
    url        : DCHelper.getUrlItem(),
    request    : VueEndpoints.Explore.items(defaultParams).updateParams(inParams)
  });

expected

  let defaultParams    = DCHelper.getDefaultParams({SENTV_TYPE : FILTERS.SENTV_TYPE.MOVIES});
  let dc               = DiscoverListDC.create({
    title              : title,
    url                : DCHelper.getUrlItem(),
    request            : VueEndpoints.Explore.items(defaultParams).updateParams(inParams)
  });

actual

  let defaultParams = DCHelper.getDefaultParams({SENTV_TYPE    : FILTERS.SENTV_TYPE.MOVIES});
  let dc                                                       = DiscoverListDC.create({
    title                                                      : title,
    url                                                        : DCHelper.getUrlItem(),
    request                                                    : VueEndpoints.Explore.items(defaultParams).updateParams(inParams)
  });
joeyjiron06 commented 8 years ago

fixed in the latest