VSCodeVim / VSCodeVim/Vim

Folded code unfolds if you spend some (unknown number) of ms idle in a fold

Open
#1,004 78 comments 797 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/enhancement upstream/vscode
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

  • Click thumbs-up 👍 on this issue if you want it!
  • Click confused 😕 on this issue if not having it makes VSCodeVim unusable.

The VSCodeVim team prioritizes issues based on reaction count.


What did you do?

Scrolled through folded code once with the j key held down, another time pressing it over and over.

What did you expect to happen?

Folded lines were skipped.

What happened instead?

Cursor did not skip the folded lines (watch the line numbers in the gif).

Technical details:
  • VSCode Version: 1.6.1
  • VsCodeVim Version: 0.4.0
  • OS: macOS Sierra (10.12)

vscode-vim-skip-folds

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 behavior in VSCodeVim with folded code, comparing holding j with pressing it repeatedly as shown in the issue. Confirm that folded lines are skipped in both cases, then trace the motion handling to identify why idle time changes the result; done means consistent fold skipping.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.