Answer the question
In order to leave comments, you need to log in
Is there a JavaScript equivalent of Emmet?
With Emmet, you can write div>p*10+div
and receive
<div>
<p></p>
<p></p>
<p></p>
<div></div>
</div>
Answer the question
In order to leave comments, you need to log in
There is a very good plugin in sublime text 3 if you write js in it. It's called JavaScript & NodeJS Snippets .
Also, unfortunately, it will not be able to generate code as emmet, but it still reduces the time of writing code
For JS and other languages, snippets (own abbreviation mechanisms) are usually used. By the way, Emmet is also a mechanism for CSS-like abbreviations for writing HTML. Snippets are easy enough to create. How - depends on the particular editor/IDE.
In Google, YouTube, you can easily find examples of how to create your own snippet in the desired editor / IDE.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question