Repository navigation
Open
Labels
*duplicateIssue identified as a duplicate of another issue(s)editor-highlightEditor selection/word highlight issuesfeature-requestRequest for new features or functionality
Milestone
Description
Type: Bug
It seems like VSCode only highlights up to 999 matches of text highlighted by me.
See screenshot for an example.
VS Code version: Code 1.77.0 (7f329fe, 2023-03-29T10:02:16.981Z)
OS version: Windows_NT x64 10.0.19045
Modes: Restricted
Sandboxed: No
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz (4 x 2712) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 15.88GB (4.70GB free) |
| Process Argv | --crash-reporter-id be57aed7-4363-4853-8391-6f4487bf789b |
| Screen Reader | no |
| VM | 0% |
Extensions (12)
| Extension | Author (truncated) | Version |
|---|---|---|
| vscode-subtitles | ast | 0.4.0 |
| vscode-dotnet-runtime | ms- | 1.6.0 |
| python | ms- | 2023.6.0 |
| vscode-pylance | ms- | 2023.3.40 |
| remote-containers | ms- | 0.288.0 |
| remote-ssh | ms- | 0.98.0 |
| remote-ssh-edit | ms- | 0.84.0 |
| remote-wsl | ms- | 0.77.0 |
| vscode-remote-extensionpack | ms- | 0.24.0 |
| remote-explorer | ms- | 0.2.0 |
| remote-server | ms- | 1.0.0 |
| cuesheet | zgm | 0.3.0 |
(1 theme extensions excluded)
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
nodejswelcome1cf:30587006
2e4cg342:30602488
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
vsccsb:30677849
pythonb192:30669360
functionswalk:30687959
pythonms35:30701012
Metadata
Metadata
Assignees
Labels
*duplicateIssue identified as a duplicate of another issue(s)editor-highlightEditor selection/word highlight issuesfeature-requestRequest for new features or functionality

Activity
tearfur commentedon Mar 31, 2023
I understand that this is proably limited to 999 for performance reasons.
Maybe make it so that this window of 999 lines moves as you scroll? You can also shrink this window if you do this.
hediet commentedon Oct 30, 2026
Thanks for the report. The same selection-highlight limit is tracked in #173983. Your suggestion to move a bounded highlight window as you scroll is useful input for that issue; the linked implementation attempt was closed without merging.
/duplicate of #173983
tearfur commentedon Oct 30, 2026
Hi Henning Dieterichs (@hediet), I'm slightly confused as I see this added to the release milestone due very soon, but AFAICT there isn't a fix yet. Could you clarify the status?
egamma commentedon Nov 17, 2026
Yat Ho (@tearfur) Sorry for the confusion, and for the slow answer. There is no fix yet: this report describes the same selection-highlight limit as #173983, which is where the problem is tracked. The release milestone was added by automation when the issue was closed and does not mean a fix is shipping; I have removed it. I reopened the issue while checking this and am closing it again as a duplicate.