@WebStormIDE @intellijidea You already support "add braces to arrow function" for JS on alt+enter. Will you implement the opposite as well?
As far as I remember, it was added in 2016.2. Please make sure that you hit alt-enter when the cursor is on =>
-
-
And check that intention Convert arrow function to shorthand arrow function is enabled in Preferences | Editor | Intentions
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Having the cursor on top of the => did the trick! Thank you very much. Would be great if it would work everywhere within the function though
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.