James Henders
James Henders

Reputation: 231

!Doctype HTML skeleton keyboard shortcut in PhpStorm?

What is the quick keyboard shortcut to get the HTML structure in PhpStorm without having to type out the entire thing?

I have been searching for hours.

Upvotes: 23

Views: 24811

Answers (2)

Pablo
Pablo

Reputation: 6068

In a HTML context type ! and press the tab key in your keyboard:

enter image description here

it works in php files too

Upvotes: 69

Radames E. Hernandez
Radames E. Hernandez

Reputation: 4425

Just write ! and press the key [tab], that is all that you need to do, if does not work, check if your file has extension .html or .php.

I hope it helps you, regards!

Upvotes: 7

Related Questions