VSCodeVim / VSCodeVim/Vim

Evertime i use flutter snippets in insert mode it switches to visual mode

Open
#8,542 0 comments 0 reactions 0 assignees View on GitHub

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:

  1. Go to flutter project
  2. Click on widget
  3. press ctrl+. actions show up and choose wrap with widget
  4. see the visual mode

Expected behavior
When I wrap it with a new widget it must stay in insert mode

Screenshots
image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.