Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.6k views
in Technique[技术] by (71.8m points)

html - Are not all Emmet actions available in WebStorm?

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...