user1855851
user1855851

Reputation: 27

How can I change close tag of HTML using Intellij?

How to change close tag of HTML using Intellij shortcut?

<input type="checkbox" class="flat" name="table_records"></input>

above code, I would like to change blow code using Intellij shortcut

<input type="checkbox" class="flat" name="table_records"/>

Upvotes: 0

Views: 147

Answers (1)

lena
lena

Reputation: 93748

Alt+Enter on tag, Collapse empty tag will change

<input type="checkbox" class="flat" name="table_records"></input>

to

<input type="checkbox" class="flat" name="table_records"/>

Upvotes: 1

Related Questions