How To Insert Incrementing Numbers with words by Multicursor in jetbrains IDE(IntelliJ IDEA)?

安稳与你 提交于 2019-12-21 07:07:15

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!