i have line in coffeescript file
if somevariable no else yes
one of valuable feature in idea me code clean up. doesn't work expect here. after pressing ctrl+alt+l, idea reformats line ugly
if somevariable { no } else yes
which not bad style error when compile coffeescript javascript.
here similar line couldn't formatted idea.
return true if somevariable 5
...becomes...
{ return true } if somevariable 5
why that?
it's bug caused if()
statement, force braces
: always setting in javascript wrapping , braces
.
issue submitted youtrack.
Comments
Post a Comment