Selecting multiple items with different lengths #5493
Answered
by
gabydd
crushingCodes
asked this question in
Q&A
-
I had a situation where I wanted to selected multiple items so I could use the match to add surrounding quotation marks to items with different lengths. const myValues = [
value1,
longerValue2,
val3
] I wanted to get it to the following: const myValues = [
'value1',
'longerValue2',
'val3'
] I ended selected one by one with |
Beta Was this translation helpful? Give feedback.
Answered by
gabydd
Jan 11, 2023
Replies: 1 comment 1 reply
-
if you start on the v of value( |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
crushingCodes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if you start on the v of value(
fv
from the first line) you can doCCwms'
C makes a new selection under, then you can select the word and surround all of them with'