7330 Javascript Reformat code is broken

Given this javascript code in an html file testwrapping.html :

function foo(i) {
    if (i > 0)
        return false;
    else
        return true;
}

1 comment

Javascript - Reformat Code doesn't respect Force Braces ON code style settings
http://www.jetbrains.net/jira/browse/IDEA-15597

Javascript-> Non-block statement body inspection QuickFix doesn't format code according to code style settings
http://www.jetbrains.net/jira/browse/IDEA-15599

0

Please sign in to leave a comment.