intellij auto completes a tag without href

39 Views Asked by At

I know that when doing

a TAB it used to auto complete to <a href=""></a> this is no longer the case for me. It simply does this: <a></a> Is there a way to turn this back on? in html and php files

1

There are 1 best solutions below

0
On BEST ANSWER

You can create create Live Template from Preferences > Editor > Live Templates to associate a TAB with <a href=""></a>.

Here's an example:

enter image description here

In this example the text <a href=""></a> has been associated with Abbreviation: a and has been configured to Expand with Tab.