Files
nx_post_support/CHANGELOG.md
T
Christoph Brandau 757b885f28 feat(server): index PSC scripts and provide cross-file TclOO navigation/completions
Add PSC (.psc) indexing and share TclOO class metadata across files so class
definitions discovered via PSC layers can be used for completions, signature
help, inlay hints, and "go to definition". Key behavior changes:

- Client file watcher now includes *.psc and .vscode launch paths/tests updated
  to use the postprocessor test folder; .gitignore updated to ignore that folder.
- Server watches .psc changes and refreshes a PSC script index; new
  tools/tcloo_navigation.py exposes tcloo_definition used by the language server
  to resolve cross-file class/constructor/method definitions.
- Language server uses class_snapshot(document.path) when producing TclOO
  completions, signature help, and inlay hints so resolved class metadata is
  available across files.

Also includes related docs/changelog updates, minor code formatting cleanups,
and added tests for PSC/TclOO behavior.
2026-09-21 20:47:51 +02:00

2.5 KiB

Unreleased

  • Add Go to Definition for TclOO classes, constructors, and resolved methods, including PSC library definitions
  • Index PSC layer scripts (including external paths and legacy Windows encoding) and share TclOO class metadata across files for completion, signatures, inlay hints, and highlighting
  • 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