vscode-php-phan icon indicating copy to clipboard operation
vscode-php-phan copied to clipboard

Look into documenting hover delay

Open TysonAndre opened this issue 7 years ago • 3 comments

https://code.visualstudio.com/updates/v1_25#_hover-display-options

This might avoid some latency issues when hover is enabled (Or my issues might have been with the VS Code upgrade)

  • Not sure if that delays the computation as well

TysonAndre avatar Jul 16 '18 18:07 TysonAndre

Dunno if this is still an issue. Psalm precomputes all possible hover responses when analysing in server mode, so fetching is done quickly.

It looks like your lookup is much fancier, but I'm not sure at a cursory glance.

muglug avatar Nov 20 '18 05:11 muglug

Ah, now I see that VS Code doesn't consider a file opened unless you're editing it, so you may have un-analysed files that you're hovering over.

muglug avatar Nov 20 '18 20:11 muglug

This is more of a case of phan's hover computations (e.g. client waiting for those) slowing down the client while moving the mouse

TysonAndre avatar Nov 20 '18 21:11 TysonAndre