open-editor:在编辑器中的特定行和列处打开文件

时间:2021-05-26 03:28:28
【文件属性】:
文件名称:open-editor:在编辑器中的特定行和列处打开文件
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-26 03:28:28
JavaScript 开放编辑 在编辑器中的特定行和列处打开文件 支持任何编辑器,但是只有以下编辑器会在特定的行和列中打开: 崇高文字 原子 Visual Studio程式码 WebStorm * TextMate Vim NeoVim IntelliJ IDEA * *不支持专栏。 安装 $ npm install open-editor 用法 const openEditor = require ( 'open-editor' ) ; openEditor ( [ 'unicorn.js:5:3' , { file : 'readme.md' , line : 10 , column : 2 } ] ) ; 原料药 openEditor(文件,选项?) 如果编辑器支持,请在用户的编辑器中的特定行和特定列中打开给定文件。 它不等待编辑器启动或退出。 档案 类型: Array
【文件预览】:
open-editor-main
----.gitignore(23B)
----example.js(104B)
----.github()
--------workflows()
--------funding.yml(91B)
----.gitattributes(19B)
----package.json(974B)
----index.test-d.ts(624B)
----readme.md(2KB)
----index.js(2KB)
----index.d.ts(2KB)
----test.js(2KB)
----.editorconfig(175B)
----license(1KB)
----.npmrc(19B)

网友评论