Code Style JavaScript: anomymous functions, no space before parenthesis
I've gone through Settings/Code Style/JavaScript numerous times, but the reformatter insisits on changing:
function() {
into
function () {
(a space is always inserted between 'function' and '(')
Is there any way to change this?
Using PhpStorm PS-138.1751
Build #PS-138.1751, built on August 21, 2014
JRE: 1.6.0_65-b14-462-11M4609 x86_64
JVM: Java HotSpot(TM) 64-Bit Server VM by Apple Inc.
thanks
请先登录再写评论。
Try unchecking 'in function expression' in Settings/Code Style/JavaScript/Spaces/Before Parentheses
That's it, thank you!