Add TclOO class completions, signature help and inlay hints #39
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/39/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This change adds document-local, conservative TclOO support to the language server: completions for statically inferred object receivers, signature help for resolved TclOO methods/constructors, semantic highlighting for class declarations/references, and parameter inlay hints for resolved method calls.
What changed
new/createinstances andmy/statically inferred return chains. Class names declared in the current document are also offered as CompletionItemKind.Class (tools/tcloo_completion.py and tools/tcloo_symbols.py). Class completion items are added to the local completion candidates and to the server's CompletionCollector.Scope and rationale
Tests and CI
Recommended reviewer checks
Notes and risks
Files of interest (high level)
No test execution results were provided.