VSCodeVim / VSCodeVim/Vim

Support the semicolon search offset

Open
#3,919 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/search kind/feature
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

This allows you to do multiple searches in one, such as /foo/;?bar, which finds the next instance of foo, then from that position, finds the previous instance of bar. This is significantly more complicated than normal search offsets (see #3918), which is why I've split it out into a separate issue.
See this and search for E386 for more details.

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 reading issue #3918 and the Vim pattern documentation around E386 to understand how semicolon search offsets differ from normal offsets. Trace the existing search-offset handling and its tests, then verify that /foo/;?bar finds the next foo and searches backward for bar from that position.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
search, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.