VIM extension sometimes forces an editor restart upon saving changes
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 exiting insert mode and saving (:w) quickly, the editor will suddenly change themes and prompt me to restart the editor for the changes to take effect.
To Reproduce
I can't seem to reproduce on demand -- it sort of just happens after making changes to a file.
- Make a change to a file via insert mode.
- Leave insert mode and rapidly save the file.
Expected behavior
File saves successfully and nothing further of note happens.
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.0.8
- VSCode version: 1.31.1
- OS: macOS 10.13.6
Additional context
I wonder if the vscode-vim plugin has issues with code autoformatters (like Prettier) that trigger upon save.
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: edit in insert mode, exit insert mode, and rapidly save with :w on the listed VSCode and macOS versions. Investigate the interaction between saving, theme changes, restart prompts, and save-triggered formatters such as Prettier; done means the file saves without an unexpected theme change or restart prompt.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100