When using IntelliJ with TypeScript and referencing a new function in an .html file, IntelliJ has the option to automatically add this function to the corresponding .component.ts
file.
For example:
<div *ngIf="ifConditionIsTrue()">
IntelliJ will add the function like this in the component:
ifConditionIsTrue(){
}
However, I prefer new functions to be added in this format:
public ifConditionIsTrue():boolean{
}
Is there a way to customize how new functions are inserted into the .ts files?