A
A
Ann-Gol2021-01-27 23:51:15
HTML
Ann-Gol, 2021-01-27 23:51:15

Can Webstorm be configured to show tooltips when typing tags in HTML?

I set up Webstorm almost, but it is not enough when entering, let's say the div tag tips, if I drive in the entire tag +tab - all the rules, and open. and the closing one is immediately driven in. If I put the letter just d and tab, he just makes d tags for me, and not div. For some reason, the ctrl + space hint does not show the div tag at all. You can of course .d + tab, but this class is needed, but what if I just need a div or nav tag, etc.?
Moreover, if you set attributes inside the tag, then there is no problem, I enter, say "C" and a menu of hints clacc, content, etc., which can be selected with arrows, drops out.
That would be the case with tags, it would be ideal. Everything is perfect in css, but for some reason in HTML it's the same with tags. Of course, you can drive in the whole thing, but such little things slow down the process of writing code. I configured the Emmet plugin, but this particular issue was not resolved, or should it be? What other settings to tweak? Thanks in advance for your reply.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2021-01-28
@Ann-Gol

Just write more HTML code. After a week or two, you won’t even notice that you are writing them completely.
In phpStorm, look at the settings section. File | Settings | Editor | Live Templates
There, in the ZenHTML block, all the abbreviations that the program understands. You can add yours.
It is these options that the storm suggests by ctrl + space.
As for the div tag, it is already short, there is no point in shortening it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question