Create interface files
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- neovim, vim
- 领域
- tooling
调研方向
从提议的 createInterfaceFile 函数及其 RescriptCreateInterfaceFile 命令开始,然后确定接口文件的创建应如何在 Neovim 和 Vim 中工作。当受支持编辑器的行为以及对现有接口文件的处理都得到明确的定义和实现时,即可视为完成。
由索引模型根据 Issue 内容生成。
描述
As this plugin is for neovim AND vim, I don't know, how to manage it.
So maybe just for everyones interest, I created a function (for neovim) to automatically create resi files:
function createInterfaceFile()
local path = vim.api.nvim_buf_get_name(0)
if vim.fn.filereadable(path .. "i") == 1 then
print("Interface file already exists")
else
-- print("Create interface file")
vim.lsp.buf_request(
0,
"textDocument/createInterface",
{ uri = "file://" .. path },
function ()
print("Interface file created")
end
)
end
end
vim.cmd("command RescriptCreateInterfaceFile lua createInterfaceFile()")
- 主要语言
- Vim Script
- 星标
- 164
- 派生
- 17
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rescript-lang/vim-rescript 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
Add errorformat 未关闭
难度 3/5 1-2 天 新手友好度 35/100
rescript-lang/vim-rescript#74 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
rescript-lang/vim-rescript#67 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 55/100
-
难度 4/5 3-5 天 新手友好度 35/100
查看 rescript-lang/vim-rescript 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
use-agent-os/agent-os#3314 ·
-
documentation low-priority templates
难度 2/5 1-3 小时 新手友好度 85/100
jesseray718/openroot#87 ·
-
factory-active factory-automatic task-bug-reproduction-cannot-reproduce task-identify-harness-labels-done task-identify-issue-type-done
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 2/5 1-3 小时 新手友好度 90/100
danielmiessler/LifeOS#2218 ·
-
in-progress proposal
难度 1/5 1 小时以内 新手友好度 88/100
uibcdf/molsyssuite#36 ·