vim-node-import:在JavaScript中展开require()语句

时间:2024-05-26 04:29:49
【文件属性】:

文件名称:vim-node-import:在JavaScript中展开require()语句

文件大小:6KB

文件格式:ZIP

更新时间:2024-05-26 04:29:49

Vimscript

vim节点导入 r fs⏎ 变成: const fs = require ( 'fs' ) 还: r path → const path = require ( 'path' ) r . . / setup → const setup = require ( '../setup' ) r path . join → const join = require ( 'path' ) . join r React → const React = require ( 'react' ) v path → var path = require ( 'path' ) i path → import path from 'path' i path . join → import { join } from 'path' 如果缓


【文件预览】:
vim-node-import-master
----.travis.yml(33B)
----autoload()
--------node_import.vim(4KB)
----HISTORY.md(412B)
----test()
--------variations_test.vader(962B)
--------edge_cases_test.vader(740B)
----plugin()
--------node_import.vim(106B)
----LICENSE.md(1KB)
----.gitignore(8B)
----Makefile(585B)
----README.md(1KB)

网友评论