Convert to Arrow Function

Quickly convert a function to a variable holding an arrow function.

Instead of manually converting a function to a variable holding an arrow function, let WebStorm do that for you: press ⌥⏎ (macOS) / Alt+Enter (Windows/Linux) on the name in the function definition and select the corresponding intention.


Related Resources

Add console.log Faster
Add console.log Faster
Use Postfix Completion to quickly add console.log.
Add New Dependencies
Add New Dependencies
WebStorm can help you add a new dependency right when you need it.
Convert to async Function
Convert to async Function
Quickly convert a function that returns a Promise to an async function.