File | Settings | Editor | Emmet

Ctrl+Alt+S

settings

On these pages, enable PyCharm to use Emmet in HTML, XML files and style sheets.

ItemDescription
Expand abbreviation withUse this drop-down box to select the default key to expand Emmet selectors with.

This key will also by default expand Emmet live templates.

PyCharm expands abbreviations only if their output does not exceed 15 KB.