Skip to content

Not searching some files that aren't in an open folder #62488

@inarius

Description

@inarius

Issue Type: Bug

I've been having this problem for a few weeks - it used to work correctly. I have tested without extensions and it still occurs.

I open a set of log files (not a folder) and want to search all of them for errors. There are files with *.err file extensions which are repeatedly not getting searched in unless I click to focus them.

Precondition:

  • Create some log files, including one named 'Daily_MR_EX_Load_20181102.err' with some text contents

Steps:

  • Open VSCode
  • Select several log files (including the one above) and drag them into the VSCode program window
  • Without focusing on the .err log file, search for text that it should contain. It should not appear in the results.
  • Then, focus on the .err file
  • Search again, and the results should change.

vscode-search-not-working

VS Code version: Code - Insiders 1.29.0-insider (9b2a7f4, 2018-11-02T13:42:21.142Z)
OS version: Windows_NT x64 10.0.15063

System Info
Item Value
CPUs AMD A8-7650K Radeon R7, 10 Compute Cores 4C+6G (4 x 3292)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 14.94GB (4.25GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (6)
Extension Author (truncated) Version
gitlens eam 8.5.6
gc-excelviewer Gra 2.1.26
git-tree-compare let 1.4.0
rainbow-csv mec 0.7.1
mssql ms- 1.4.0
vscode-spotify shy 3.0.4

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberinfo-neededIssue requires more information from postersearchSearch widget and operation issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions