Welcome to 16892 Developer Community-Open, Learning,Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have Emmet enabled for WebStorm but it seems as though some of the abbreviations aren't working.

For example: typing div and then Enter (I have the abbreviation key set to Enter) will open a <div> tag as expected. However, actions like these are not working:

! should open up the html boilerplate. Instead, it doesn't do anything.

form:get should open up <form action="" method="get"></form> Instead, it opens up <form:get></form:get>.

I even tested on other JetBrains products like IntelliJ and Android Studio using the same settings and they both work as expected.

Any ideas?

Screenshots:

Emmet HTML settings:
Emmet HTML settings

Emmet abbreviation:
Emmet abbreviation

Zen HTML settings:
Zen HTML settings


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
3.7k views
Welcome To Ask or Share your Answers For Others

1 Answer

I tracked down my problem. I had imported settings for some React snippets (https://github.com/ifahrentholz/webstorm-snippets) that must have overridden some of the Emmet Abbreviations.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to 16892 Developer Community-Open, Learning and Share

548k questions

547k answers

4 comments

56.5k users

...