Press ctrl-shift-return after
<%@ attribute name="type" required="true" rtexprvalue="false"
will create
<%@ attribute name="type" required="true" rtexprvalue="false"/>
It should of course create this instead:
<%@ attribute name="type" required="true" rtexprvalue="false" %>