问题
I want to add Incrementing Numbers with words by Multicursor in jetbrains IDE(IntelliJ IDEA) .
Is there any way to do it by Live template? I want to do things like this image :
回答1:
You could use String Manipulation plugin to do that (Increment/Decrement | Increment duplicate numbers
).
回答2:
The plugin is not working on my WebStorm, there could be another way using unix command line:
seq 1 10 | xargs printf 'string%d\n'
回答3:
Tried plugin "String Manipulation" ... But (7.2.182.000.3 June18, 2019) does not work in Clion 2019.2
来源:https://stackoverflow.com/questions/41137596/how-to-insert-incrementing-numbers-with-words-by-multicursor-in-jetbrains-idein