我在标签中遇到'>'问题。我有:
<label
class="custom-control-label"
for="building{{building.Id}}"
>
{{ building.City }}, {{ building.Name }}
</label>
如何使标签开始标记'>'与上一个属性在同一行?我使用Prettier,但我既没有在配置中也没有在代码设置中找到解决方案。
<label
class="custom-control-label"
for="building{{building.Id}}">
{{ building.City }}, {{ building.Name }}
</label>
解决方案:我使用了内置的VS Code格式化程序。