0
如何使用Intellij快捷方式更改HTML的關閉標記?如何使用Intellij更改HTML的close標籤?
<input type="checkbox" class="flat" name="table_records"></input>
上面的代碼,我想使用的Intellij快捷
<input type="checkbox" class="flat" name="table_records"/>
如何使用Intellij快捷方式更改HTML的關閉標記?如何使用Intellij更改HTML的close標籤?
<input type="checkbox" class="flat" name="table_records"></input>
上面的代碼,我想使用的Intellij快捷
<input type="checkbox" class="flat" name="table_records"/>
Alt+Enter
上標籤,以改變吹代碼收起空標記將改變
<input type="checkbox" class="flat" name="table_records"></input>
到
<input type="checkbox" class="flat" name="table_records"/>
謝謝,它適用於我的IntelliJ IDEA,我還有一個問題。我可以在所有文件中更改標籤嗎? – user1855851
你可以在標籤上點擊'Alt + Enter',然後點擊'Right'並選擇'Fix all'XML標籤空身體「文件中的問題」 – lena