Reputation: 3
Instead of having the default <h1>{{typeScriptVar}}</h1>
when binding elements in Angular, I want to set it to <h1>{{ typeScriptVar }}</h1>
when I press the format code shortcut in my InteliJ.
Can you please help me, I did some research on this but didn't find the answer I was looking for.
Upvotes: 0
Views: 138
Reputation: 93828
Please try Preferences | Editor | Code Style | TypeScript | Spaces
, Other/Within interpolation expressions
. This option affects JSX braces as well as Angular interpolations
Upvotes: 0