Can't pane switch with python interactive
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 I'm using VSCode's data science tools,
And I try to switch away from the python interactive pane,
the pane doesn't switch,
and I get TaskQueue: Error running task. Cannot read property 'options' of undefined from the Vim extension.
This also occurs when I used the default ctrl+w ctrl+w to pane switch.
To Reproduce
Steps to reproduce the behavior:
- (likely not necessary to reproduce, but how it's set up for me) In
keybindings.json:
{
"key": "alt+h",
"command": "workbench.action.focusLeftGroup"
},
- Now, in the code, make a cell:
#%%
print("Hello World")
- Run the cell.
- Try to switch panes from the interactive window back to the code.
Expected behavior
The pane switches properly.
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.8.0
- VSCode version: Version 1.34.20-insider
- OS: Mac OS Mojave
Additional context
I don't think this is specific to when the keybindings are switched.
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 issue with VSCode's Python interactive window and a cell marked with #%%, using the reported pane-switching keybindings. Then trace the TaskQueue error mentioning an undefined options property. Done means switching from the interactive pane back to the code works without the Vim extension error; the payload names no repository file or test.
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
- 32/100