'JavaScript code generation using WebStorm - create function format

My question is about the interface. When I'm inside a JavaScript file, I type a function name, then right-click on the function name -> Show context actions -> the popup gives me an option to select between global or function functionName (handleClick2 in my case).

enter image description here

When I make my selection, the WebStorm generates:

function functionName() { //<-- this is what is generated
}

My question is, can I edit the template that WebStorm uses to create an arrow function instead? such as:

const functionName = () => { //<-- this is what I would like to be generated
}

I tend to always make this adjustment nowadays anytime a function is created for me this way.

Any advice is appreciated



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source