the magic of gif’s :) But actually a Convert to anonymous function intention is also available
-
-
-
what are you using to create gifs?
- 1 more reply
New conversation -
-
-
yes, you need to set JavaScript version to ES6 in preferences first
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
looks like the material ui :)
-
right, that’s Material UI themehttps://github.com/ChrisRM/material-theme-jetbrains …
End of conversation
New conversation -
-
-
Nice! May I change the template to insert spaces around "arrow operate"?
-
not at the moment, unfortunately. The formatting option for that will be added in WebStorm 2016.3: https://youtrack.jetbrains.com/issue/WEB-19585
End of conversation
New conversation -
-
-
How do it in Mac OSX?
-
there’s no difference on OS and Windows: hit Alt-Enter on the function keyword and select Convert to arrow function
End of conversation
New conversation -
-
-
Was this deprecated?
-
No. Please check that the JavaScript language level in Preferences | Languages & Frameworks | JavaScript is set to ES6 or JSX. And that in Preferences | Editor | Inspection - "Function expression is used instead of arrow function" inspection is enabled.
End of conversation
New conversation -
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.