Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Emmet in Visual Studio Code to add test text with numbers inside incremented

I want to make a list of test emails to test a function

Array("test1@email.com", "test2@email.com");

I want to make about 2000 entries on this Array with the email addresses including an incrementing number, can I do this easily with Emmet?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You can do it with this script:

Array("test{1..2000}@email.com");
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading