标签: html angular intellij-idea webstorm
如何设置IntelliJ IDEA以格式化代码,如
hello {{name}}
到
hello {{ name }}
对于Angular模板?
答案 0 :(得分:1)
如果在Settings | Editor | General | Smart Keys中启用在插值中自动插入空格,则在完成大括号时会插入空格。但是,无法在代码重新格式化中插入它们
Settings | Editor | General | Smart Keys