In PHPSTORM, when I type .classname or #id and press TAB, I got
<div class="classname"></div>
BUT I want it to be:
<div class="classname"></div><!-- .classname -->
In the original Emmet, you can use a filter |cto create automatic comments: http://docs.emmet.io/filters/#comment-tags-c
|c
But I do not know if this function is supported by PhpStorm, because it uses its own implementation of Emmet.
You can also enable settings filters | Emmet | Default filters: Comment tags = true if you do not want to type |ceach time.
As Lewis mentioned, there is a preference that can be set for this. In PhpStorm 2017.3, it can be found under Settings> Editor> Emmett> HTML> Filters by default. See screenshots below.
Source: https://habr.com/ru/post/1537312/More articles:The first program in the bash pipeline blocks - bashRecommendations for working with ObjectId with mongo and Javascript - javascripthttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1537309/best-ways-to-provide-a-very-open-ended-api-over-mongo-db-with-regards-to-objectids&usg=ALkJrhhFa55c16WXYwmW40eWkHLQ4K0sKgMatplotlib 3D story issue - pythonBasic data design patterns - design-patternsAdding an ec2 user to use hadoop - amazon-ec2Using bootstrap 3 glypicon with webjars and jsf2.2 - twitter-bootstrap-3Could not find json-1.8.1 in any of the sources (Bundler :: GemNotFound) - jsonHow to force C ++ to build a trace class to take a parameter? - c ++AngularJS + Go Revel Web Framework for SEO in Prerender.io - angularjsAll Articles