Reformat Code... for Coffeescript

Reformat Code... action in RubyMine 4.0.3 changes following coffeescript:

hungryMan 'wants', ->
  toEat 'now'
, true



to:

hungryMan 'wants', ->
  toEat 'now'
  , true



Is there a way to turn off this particular formatting rule since the impact is quite significant.

Instead of desired

hungryMan('wants', function(){
  return toEat('now');
}, true);



result is

hungryMan('wants', function(){
  return toEat('now', true);
});



that sometimes is hard to catch quickly.

Please sign in to leave a comment.