Evertime i use flutter snippets in insert mode it switches to visual 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 wrapping the widget in Flutter in insert mode it switches to visual mode then I press esc it gets normal but the cursor ends up in the last of the wrapping widget.
To Reproduce
Steps to reproduce the behavior:
- Go to flutter project
- Click on widget
- press
ctrl+.actions show up and choose wrap with widget - see the visual mode
Expected behavior
When I wrap it with a new widget it must stay in insert mode
Screenshots
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.25.2
- VSCode version: 1.81
- OS: windows 10
Additional context
I have disabled vim and use it it worked just fine :)
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 in a Flutter project with VSCodeVim 1.25.2, using Ctrl+. to choose “wrap with widget” while in insert mode. Trace the command or extension path responsible for wrapping and mode changes. Done means the widget is inserted while the editor remains in insert mode and the cursor is positioned correctly after wrapping.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flutter, typescript
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100