atom-shrink-whitespace:收缩空白到原子的端口

时间:2021-05-05 02:49:39
【文件属性】:
文件名称:atom-shrink-whitespace:收缩空白到原子的端口
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-05 02:49:39
CoffeeScript 收缩空白包 这个包是我的Emacs到atom的包的端口。 我做此实验是为了了解开发原子包有多么容易,以及API是什么样的。 shrink-whitespace是emacs的DWIM空白删除键。 行为很简单,但是我还没有找到满足我需求的任何东西。 用法 考虑以下情形,以(|)表示的点: Here is some text (|) Here is some more text 当您调用shrink-whitespace ,两行之间的空白将减少为单行,如下所示: Here is some text (|) Here is some more text 如果要删除更多的空格,只需再次调用它: Here is some text (|)Here is some more text 现在,两行之间没有空格,并且点位于第二行的开头。 该相同功能适用于水平空间,并使用相同的通用逻辑。 请考虑以
【文件预览】:
atom-shrink-whitespace-master
----lib()
--------shrink-whitespace.coffee(3KB)
----spec()
--------shrink-whitespace-spec.coffee(3KB)
----.travis.yml(200B)
----LICENSE.md(1KB)
----README.md(2KB)
----keymaps()
--------shrink-whitespace.cson(425B)
----.gitignore(37B)
----CHANGELOG.md(65B)
----package.json(470B)

网友评论