Convert to async Function

Quickly convert a function that returns a Promise to an async function.

Need to convert a function that returns a Promise to an async function that uses the async/await syntax? Place the caret on that function, press ⌥⏎ (macOS) / Alt+Enter (Windows/Linux) and select Convert to async function.


Related Resources

Create Arrow Functions in One Click
Create Arrow Functions in One Click
WebStorm can help you add arrow functions to your code.
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.