我希望替换一组单词 flipInY ,并且每次出现时替换为不同的单词。例如,我有以下内容:
flipInY flipInY flipInY flipInY flipInY flipInY flipInY flipInY flipInY flipInY
我希望它变成这个样子:
bounce flash pulse rubberBand shake headShake swing tada wobble jello
有没有一种方法可以使用Sublime自动完成这个操作?
我希望替换一组单词 flipInY ,并且每次出现时替换为不同的单词。例如,我有以下内容:
flipInY flipInY flipInY flipInY flipInY flipInY flipInY flipInY flipInY flipInY
我希望它变成这个样子:
bounce flash pulse rubberBand shake headShake swing tada wobble jello
Type your list into the editor, with each item on its own line:
bounce
flash
pulse
rubberBand
shake
headShake
swing
tada
wobble
jello
Select all (Ctrl + A / Super + A).
flipInY
s, find and select every instance. You can do this by opening the find panel, typing in flipInY
, and clicking Find All (or alt+enter). Note that this won't work unless you have the same number of occurrences of flipInY
. In your case, there should be 10.