VSCodeVim / VSCodeVim/Vim

`:e` can't create nonexistent files automatically anymore like #2274 described

Open
#4,134 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Describe the bug
Typing ":e example.txt" opens a tab with a named file which is not created or saved on the disk.

To Reproduce
Enter a file name that doesn't exist in that path.

Expected behavior
I expect the new file to be created on the disk automatically like in the previous version did, especially cause in my workflow I need to frequently create files, make use of auto save, and compile and run files.

Environment

  • Issue Type: Bug
  • Extension Name: vim
  • Extension Version: 1.11.0
  • OS Version: Windows_NT x64 10.0.18362
  • VSCode version: 1.38.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the :e example.txt command in the VSCodeVim extension and trace the command's handling of nonexistent paths. Done means entering :e with a missing file creates that file on disk while preserving the reported auto-save and compile/run workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.