You can't. In HTML context everything is a plain text with HTML tags inside. There is no way for the IDE to guess if you are trying to write a word or a HTML tag unless you type < before starting typing div - < it is a hint for IDE that you are typing a HTML tag.
You can't. In HTML context everything is a plain text with HTML tags inside. There is no way for the IDE to guess if you are trying to write a word or a HTML tag unless you type
<before starting typingdiv-<it is a hint for IDE that you are typing a HTML tag.Related forum topic: https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000719050-Autopopup-completion-works-inside-php-tag-but-doesn-t-work-outside-of-it-Is-there-any-fix-
If typing
<is a problem, consider using Emmet : typedivand hit Enter - IDE will expand it to<div></div>