VSCodeVim / VSCodeVim/Vim

read command does not work

Open
#2,341 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted kind/enhancement size/S
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Bug report
I've read this feature should work

What happened:
Trying to read a file I get: Vim:Error:ENOENT: no such file or directory. Tried a file from the same dir as the one opened, tried one from the main folder, different combinations still no success.

What did you expect to happen:
Like in vim, :read filename

How to reproduce it (as minimally and precisely as possible):
":", "read filename"

Environment:

  • Extension (VsCodeVim) version: 0.10.13
  • VSCode version: 1.19.3
  • OS version: Ubuntu 16.04

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

No source file or test is named in the issue. First reproduce :read filename with VSCodeVim 0.10.13 on the reported environment, then trace the command handling and the ENOENT error. Done means reading a file from the current or main folder works as it does in Vim, with a regression test if the project has coverage for this command.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.