在 Atom 中使用多个游标时,有没有办法增加数字? [英] Is there a way to increment numbers when using multiple cursors in Atom?

查看:27
本文介绍了在 Atom 中使用多个游标时,有没有办法增加数字?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现自己一遍又一遍地这样做.这可能非常耗时.有哪些可用的选项?

解决方案

I find myself doing this over and over again. It can be pretty time consuming. What options are available for this?

解决方案

The Increment Selection package might be what you're looking for. It seems to be working with multiple cursors, so should be pretty close to your use case:

Select a block of text and hit ctrl-shift-i to replace it with incrementing numbers

  • Uses first line's number if any
  • Works with multiple cursors

这篇关于在 Atom 中使用多个游标时,有没有办法增加数字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆