idea
如果要實(shí)現(xiàn)在多行前面添加一樣的內(nèi)容庐扫,比如已知id的列表拼接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
泳桦,然后按住鼠標(biāo)開始向下拖動(dòng)蜗字,會(huì)發(fā)現(xiàn)光標(biāo)變長了打肝,然后就輸入你想要添加的內(nèi)容就行啦,同理可以批量垂直選擇文本批量修改
本文使用OpenWrite進(jìn)行編寫