Add conservative, document-local TclOO type inference and tooling so the server can offer method completions, signature help, and inlay parameter hints for statically resolvable TclOO receivers (including `new`/`create`, `my`, and simple return-chains). Also surface class names as completion items and emit semantic tokens for class declarations/references. Notable changes: - New tcloo_* tools: completion, symbols, and argument parsing; integrated into on_completion, signature_help, inlay hint generation and semantic token highlighting. Completions are returned early when an OO receiver context is detected. - Use a completion-friendly parser fallback when the main AST fails (TclSyntaxError) so editing-in-progress code still yields useful completions. - Add CompletionItemKind.Class to command kinds, exclude class items from the poco completion name cache, and include new unit tests for the TclOO helpers.
50 lines
2.2 KiB
Markdown
50 lines
2.2 KiB
Markdown
## Unreleased
|
|
|
|
- Add document-local TclOO method completion for `new`/`create` instances, `my`, and statically inferred return chains
|
|
- Suggest TclOO class names as classes and semantically highlight their declarations and calls
|
|
- Show signature help and parameter inlay hints for resolved TclOO methods and constructors, including optional and variadic arguments
|
|
- Add incoming and outgoing call hierarchy for custom TCL procedures and MOM event handlers
|
|
- Add document highlights for procedure and variable occurrences
|
|
- Make completion context-aware and prioritize local, current-file, workspace, and built-in symbols
|
|
- Add command-aware completion for Tcl subcommands, fixed arguments, and valid options
|
|
- Add semantic argument completion for variables, procedures, namespaces, and local file paths
|
|
- Add placeholder-based snippets for common Tcl structures and `dict for`
|
|
- Integrate the NX Tcl Remote Debugger directly into NX Postprocessor Support
|
|
- Add `nx-tcl` attach configurations and breakpoint support for TCL and DEF files
|
|
- Support breakpoints, stepping, stack frames, variables, watches, evaluation, logpoints, hit conditions, and Tcl error stops
|
|
- Add generation-safe stack and variable references so delayed VS Code requests cannot address stale NX frames
|
|
- Add command-buffer breakpoint handling for `LIB_GE_command_buffer_edit_*` source bodies
|
|
- Extend the README with launch configuration, path mapping, and debugger usage
|
|
- Prevent truncated TCL inlay hints and add configurable parameter hint modes
|
|
- Add inlay hints for built-in NX procedures, variadic arguments, and visible ranges
|
|
- Add inlay hint documentation and navigation to custom procedure definitions
|
|
- Add signature help for custom TCL procedures and built-in NX/MOM procedures
|
|
- Clean stale TCL indexes on close, delete, and rename operations
|
|
- Make background parsing and index updates thread-safe
|
|
- Improve TCL response times with debounced edits and cached semantic, inlay, hover, completion, and variable indexes
|
|
- Debounce CDL/DEF diagnostics and remove per-line diagnostic logging
|
|
|
|
## [0.0.1]
|
|
|
|
- Initial release
|
|
|
|
## [0.0.2]
|
|
|
|
- Add Autocomp for TYPE
|
|
|
|
## [0.1.0]
|
|
|
|
- Add Hover Feature
|
|
|
|
## [0.2.0]
|
|
|
|
- Add DEF File Support
|
|
|
|
## [2026.6.100]
|
|
|
|
- Fix several bugs
|
|
|
|
## [2026.6.200]
|
|
|
|
- Fix foramtting bug
|