Skip to content

'Search in files' drops comment markers #137265

@nicsav

Description

@nicsav

Issue Type: Bug

If searching for

in a file that contains

                // pr = dgrs_djf_ptr->sdfhg_dsgff.total_unique_data_rows * sadhdsa_sdsa;

'Search' will display:

pr = dgrs_djf_ptr->sdfhg_dsgff.total_unique_data_rows * sadhdsa_sdsa;

thus losing that fact that that line of code is a comment

VS Code version: Code 1.62.2 (3a6960b, 2021-11-11T20:56:38.428Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No
Remote OS version: Linux x64 3.10.0-1160.42.2.el7.x86_64
Remote OS version: Linux x64 3.10.0-1160.42.2.el7.x86_64

System Info
Item Value
CPUs Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz (8 x 2304)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.76GB (7.72GB free)
Process Argv --crash-reporter-id 7d4ed872-0453-4e1a-8447-65309c686acd
Screen Reader no
VM 33%
Item Value
Remote SSH: 101.101.210.13
OS Linux x64 3.10.0-1160.42.2.el7.x86_64
CPUs AMD EPYC 7542 32-Core Processor (128 x 2894)
Memory (System) 755.37GB (32.29GB free)
VM 0%
Item Value
Remote SSH: 101.101.210.13
OS Linux x64 3.10.0-1160.42.2.el7.x86_64
CPUs AMD EPYC 7542 32-Core Processor (128 x 2894)
Memory (System) 755.37GB (32.25GB free)
VM 0%
Extensions (12)
Extension Author (truncated) Version
jupyter-keymap ms- 1.0.0
remote-containers ms- 0.205.2
remote-ssh ms- 0.66.1
remote-ssh-edit ms- 0.66.1
remote-wsl ms- 0.58.5
gitlens eam 11.6.1
python ms- 2021.11.1422169775
vscode-pylance ms- 2021.11.1
cpptools ms- 1.7.1
veriloghdl msh 1.5.1
sort-lines Tyr 1.9.0
debug web 0.25.1

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30384385
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
dockerwalkthru:30377721
bridge0723:30353136
pythonrunftest32:30373476
pythonf5test824:30373475
javagetstartedt:30391933
pythonvspyt187:30373474
vsqsis400:30386382
vsaa593cf:30376535
vssld246:30386377

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions