Skip to content

Conversation

@yakirgb
Copy link

@yakirgb yakirgb commented Jan 6, 2026

Fixes #179

…ument completes

  When textDocument/definition is called shortly after textDocument/didOpen,
  navSymbols may not be populated yet because validatePerlDocument spawns
  a slow Perl process (300-500ms+).

  Instead of returning empty, parse on-demand using the fast Node.js parser.
  This provides immediate results for local symbols while the full Perl
  compilation completes in the background.

  Fixes bscan#179
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Race condition: onDefinition returns empty when called before validatePerlDocument completes

1 participant