How to make Extract Method (refactoring) to use arrow function by default Follow
When refactoring code in Webstorm the default syntax for a method refactoring will be using the hoisted function syntax. However, I want it to default to using the arrow function syntax.
I've seen a few old posts about this years ago, but was wondering if there is a solution now in 2023 since these posts came to no conclusion.
My current process has been doing a method refactor and then prompting the context actions in the new function method and using the convert to arrow function feature. However, this becomes tedious when refactoring a large method.
Please sign in to leave a comment.
there is no way to customize it, templates are hardcoded. Please vote for WEB-26073 to raise its priority and get notified on updates