If I try to write <a href="https://puggan.se/">puggan</a>
in a html-dockument in PhpStorm, it ends up as: <a href=""https:/>/puggan.se/">puggan</a>
The problem is that when I add the =
after href
, it automatically adds two quotes "
, and places the cursor between them, and when I write the "
myself (as I'm used to do), its overwrites the 2nd "
, and the cursor ends up behinds them, and the attribute value ends up outside the "
.
Settings/Preferences
Editor | General | Smart Keys
XML/HTML | Add quotes for attribute value on typing '=' and attribute completion
option