Add an option for `tabe`, `split`, `vsplit`, etc. to create missing files instead of erroring out.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Is your feature request related to a problem? Please describe.
I tried searching through the open issues with a few queries, but didn't find any duplicates.
When I use ex commands like tabe, split, vsplit, and edit (I'm sure there's others too) with a filename argument for a file that doesn't exist, an error pops up.
Describe the solution you'd like
Instead, I'd like an option to reproduce the behavior of vim, which is to open an empty buffer, that when written to, writes that file to disk.
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
Trace the handlers for tabe, split, vsplit, and edit, then find any existing tests for filename arguments and missing files. Define the option's behavior for nonexistent paths: these commands should open an empty buffer, and writing it should create the requested file without changing existing-file behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100