idea
若是要实如今多行前面添加同样的内容,好比已知id的列表拼接sql
sql
1 => select * from table where id=1 2 => select * from table where id=2 3 => select * from table where id=3 4 => select * from table where id=4 5 => select * from table where id=5 6 => select * from table where id=6 7 => select * from table where id=7 8 => select * from table where id=8 9 => select * from table where id=9
只要选中第一行你要开始编辑的地方,按住alt
,而后按住鼠标开始向下拖动,会发现光标变长了,而后就输入你想要添加的内容就行啦,同理能够批量垂直选择文本批量修改ide
本文使用OpenWrite进行编写