php-language-server icon indicating copy to clipboard operation
php-language-server copied to clipboard

function outline does not sync with position of functions in file.

Open netpassprod1 opened this issue 4 years ago • 0 comments
trafficstars

Issue Type: Bug

Open procedural PHP file, open explorer sidebar to show the outline list of functions, click on a function name. Source file should scroll to bring the function into view, instead some other line of code is highlighted as the outline target. This is not happening for class methods inside _class.php files. The outline correctly tracks the class methods.

Extension version: 2.3.14 VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z) OS version: Windows_NT x64 10.0.19041

System Info
Item Value
CPUs Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz (4 x 3293)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: unavailable_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: unavailable_off
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 11.88GB (2.28GB free)
Process Argv --crash-reporter-id 0b4aa02a-e4f0-4f47-b916-03aa961926c3
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
openlogontheside:30221877
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30211402
wsl2promptcf:30224613
vstry244:30244299
pythonvsdeb440cf:30242243
unusedpromptcf:30224611
folderexplorer:30224614
openfilemenu:30224647
pythonvsded773:30236629
vstes516:30244333
pythonvspyt600:30241727
vsjup459cf:30237188

netpassprod1 avatar Feb 01 '21 15:02 netpassprod1