How to change "create function" template to arrow function?
Hello Community!
When a function does not exists and it is called in the source code, ALT+ENTER has an entry called create function <insert name> that generate this code:
function $functionName$ ( $parameterNames$ ) {
$content$
}
Is it possible to tweak this behavior to generate an arrow function instead? Like this:
const $functionName$ = ( $parameterNames$ ) => {
$content$
};
Thank you!
Have a great day!
Sebastien
Please sign in to leave a comment.
No, it's not possible; this template is hardcoded
it should, might solve some coding time..