After quiting edite mode, vscode vim would delete the indentation.
Open
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
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- enter edit mode, and enter a
<div>opening tag and a</div>closing tag. - keep cursor in between the opening tag and closing tag.
- add a new line through enter key
- quite edit mode and you will find the auto inserted indentation by VSCode will be deleted by VSCode Vim😞.
Expected behavior
Keep the auto inserted indentation, instead of deleting it.
Screenshots
Environment (please complete the following information):
- Extension (VsCodeVim) version:
- VSCode version: 1.88.1
- OS: Sonoma 14.4.1
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 behavior in VSCode 1.88.1 with VSCodeVim: enter edit mode between the HTML tags, insert a line, and leave edit mode. Trace the edit-mode exit handling; done means the indentation inserted by VSCode remains after leaving edit mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100