Create interface files
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- neovim, vim
- Domain
- tooling
Research direction
Start with the proposed createInterfaceFile function and its RescriptCreateInterfaceFile command, then determine how interface-file creation should work for both Neovim and Vim. Done means the supported editor behavior and handling for an existing interface file are clearly defined and implemented.
Written by the indexing model from the issue text.
Description
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()")
- Dominant language
- Vim Script
- Stars
- 164
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rescript-lang/vim-rescript
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Add errorformat Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
rescript-lang/vim-rescript#74 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
rescript-lang/vim-rescript#67 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in rescript-lang/vim-rescript
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
palladius/rails8-app-on-gcp#145 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
elastic/gradle-plugins#156 ·
-
area:workflow bug ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
fil-donadoni/tolaria#4409 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
dotenvx/dotenv-vscode#139 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Fission-AI/OpenSpec#1960 ·