Error when closing a split pane in insert mode
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
When executing the "Close all editors" command when in insert mode and with a split pane, the following error message is displayed:
TaskQueue: Error running task. Cannot read property 'options' of undefined.
To Reproduce
Steps to reproduce the behavior:
- Open multiple files with a split pane
- Enter insert mode
- Execute the "Close all editors", command either via keyboard shortcut or the command pane
Expected behavior
No error message.
Screenshots
Here's a video showing the bug in action. First I show how no error message is displayed if in visual mode, then I show how an error message is displayed when in insert mode.
https://monosnap.com/file/nIvJhCv7JTDTaVMbXGUr8YgQ9qHHzH
Environment (please complete the following information):
- Extension (VsCodeVim) version:
1.0.8 - VSCode version:
1.31.1 - OS:
macOS 10.14.3 - Darwin x64 18.2.0
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 by reproducing the reported sequence in VSCode: open multiple files in a split pane, enter insert mode, and run “Close all editors” via a shortcut or the command pane. Trace the command until the TaskQueue error occurs; done means the command closes the editors without displaying an error in insert mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100