The webstorm format code shortcut key is not valid.

now I have these two problems with my webstorm. The webstorm has been reinstalled, but the problem remains.

question 1: the small browser preview icon in the upper right corner of the
.html file disappears. But the small browser preview icon in the upper right corner of the PHP file is still there.
this is my setting setting,
clipboard.png
php
clipboard.png
html
clipboard.png
run


Ctrl+Alt+Lhtml
clipboard.png; but the shortcut keys are still valid for other files. It is not valid for html files alone! And I"ve been looking for it for a long time, but I can"t find any other way to format it, nor do I have the right mouse button. Oh my god! I can"t find one with the same problem on the Internet. Why is my question so weird!

Mar.31,2022

I also encounter this kind of situation now. I don't know what situation


whether the landlord has solved it or not. Asking for advice


the same solution is not a conflict problem. Changing a js file can format it, but it cannot be formatted in the html section.
= = reinstalled and solved!

Menu