Mariano B.
Mariano B.

Reputation: 11

How do I make multiple cursors in VS Code, one for each attribute of an HTML tag?

Let's say I have something like this

<Button color="secondary" className='circular-btn' fullWidth>

and I want to use a keyboard shortcut to have a cursor before color, one before className and one before fullWidth. I know ctrl+alt+arrow will do that when they are already in column. I know I can do an alt+click for each but they could be many, and it's done often.

I believe there's a keyboard shortcut for this because I've seen people do it in videos.
It is mostly to just press enter afterwards and have the attributes in column.

Anyone knows how it's done?

Upvotes: 0

Views: 59

Answers (0)

Related Questions