richterger / Perl-LanguageServer

Language Server for Perl
Other
220 stars 53 forks source link

vscode sometimes spins when trying to find definition #111

Closed willt closed 2 years ago

willt commented 2 years ago

I'm not sure how to find out what could be causing the issue. Sometimes when I try to go to definition I get the blue progress bar that scrolls at the top of the screen. I think it usually happens if I switch between tabs and then try to go to definition. It may only happen when the definition isn't found?

I tried turning on debugging and it seemed like the Perl::LanguageServer was sending back a response but maybe vscode never got it or discarded it? If I click anywhere in vscode while this is happening it sends a $/cancelRequest with the same id that Perl::LanguageServer already responded with.

richterger commented 2 years ago

That should be fixed in 2.3.0