nvim-tree / nvim-tree/nvim-tree.lua
`rename` And `paste` Create Missing Directories
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 8.6k
- Forks
- 639
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 2
Description
Can this functionality be implemented utilising API?
Yes. A custom action may be created which creates a directory if it's missing, then calling rename or paste.
Is your feature request related to a problem? Please describe.
See https://github.com/nvim-tree/nvim-tree.lua/issues/3#issuecomment-1261497971 for failure cases.
Describe the solution you'd like
rename and paste create the directory if it is missing.
Describe alternatives you've considered
Do nothing: users create the directory first.
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.
Research direction
Start at the rename and paste actions and review the API or custom-action path described in the issue. Trace how each operation handles a missing directory, then verify both operations create the directory without requiring users to create it first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, neovim
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100