I recently started a new project in PHPStorm, but noticed that none of my HTML elements closed automatically, as in my other projects.
If i type
<div>
autoload editor
</div>
How to enable this feature?
Yes, you can do this by installing PHPstorm
Go to PHP Storm -> File -> Settings -> Editor -> Smart Keys -> XML / HTML
Check everything or whatever you want, then click Ok. It's done.
Link: http://www.jetbrains.com/phpstorm/webhelp/editor-smart-keys.html
If you type div and then press Tab , it will automatically populate for you. As far as I know, PHPStorm has built-in emmet in versions 6 and 7.
div
File> Settings> Editor> Emmett> HTML
In the Filters section, the Comment tags checkbox is turned on by default .
Then you will find if you use Emmet syntax, for example:
.test#test TAB
.test#test
He will output:
<div class="test" id="test"></div> <!-- /#test.test -->
In PHPStorm version 2017.3 you can change this parameter:
File> Settings> Editor> General> Smart Keys> XML / HTML> Insert closing tag when tag ends
Source: https://habr.com/ru/post/955823/More articles:"Error C1083: I cannot open the include file," but I have a path to the include file - c ++https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/955819/using-autofixture-in-my-data-integration-tests-to-create-proxies&usg=ALkJrhiRjPM2hLXNuVVWz47iN6Jq_VeuuAgetting LNK1104 error from project .lib file. - c ++How to get the first element of a SimpleXML object? - phpPOSIX regex option not working - regexDatabase level lock on mongodb? - mongodbWhy are table literals handled differently than table references in Lua? - lua-tableHow to maintain fragment state in application - androidlvalue initialization fails - c ++MPI: MPICH2 Installing and programming on a local network with Windows - mpiAll Articles