I have a text file containing 100 lines of words. Need to wrap them all in li tags to display as bullet points on a website. How to do so fast in VS code using some shortcut? If I paste the text in VS code, it takes up 100 lines with one word on each line.
2 Answers
- place cursor on line 1 and
Shift+Alt+Clickon line 100 - press
HomeandShift+End - execute command (
Ctrl+Shift+Pfor Windows): Emmet: wrap with abbreviation - enter
liandEnter
4 Comments
rioV8
@ToveC. use cursor on line 1 and
Shift+Alt+Click on line 100Duy Duy
to execute the command, we should press Ctrl + Shift + P