Emmet Lorem Ipsum multi-cursor?
I wanted to insert some random text different places in my html document, so used the multi-cursor [alt]+click and typed lorem4 [tab].
But this just gives me the same sentence "Lorem ipsum dolor sit." allover, anyway I can do this so that it will be random text?
Doing it manual every place also gives the same line.
Please sign in to leave a comment.
lorem generator produces different text with multiple carets (the first sentence is the same, the rest differs):
if I add carets to both <div> elements and hit Tab abfter lorem, I get the same result as when calling lorem generator twice inorder:
To get completely random different texts, you have to create several elements at once with one command, like
. See https://docs.emmet.io/abbreviations/lorem-ipsum/#repeated-lorem-ipsum
I know all of that, that was not the question. The question was if it could be done somehow?
Isn't it a missed opportunity in Phpstorm? Now that we can use multi-cursor then also being able to insert random text multiply places? Very useful under development
But i also never understod why emmet not just always make random text, when do have to have the same line again, if i wanted i just copy paste.
no, it can't bee done. And, afaik, EMMET behaves just in the same way in other editors