f5bd79f0675c1c51f74ee2c8e3ed362336a0b56d
Adds a thread-safe incremental index and snapshot API for LSP. Introduces cache invalidation and file operation hooks for delete and rename. This keeps indices in sync with disk changes. Supports reindexing TCL files from disk when needed. - Adds workspace file change handlers to sync indices on delete/rename. - Introduces locking and snapshot helpers to safely access shared state. - Refactors to invalidate caches on edits and reindex TCL files.
NX Postprocessor Support
A comprehensive VS Code extension providing language support for NX CAM postprocessor development, including CDL, TCL, and DEF files.
Features
- Syntax Highlighting - Full syntax highlighting for CDL, TCL, and DEF files
- Code Formatting - Automatic code formatting for all supported file types
- Multi-language Support - Supports NX CDL, TCL, and DEF file formats
- Intelligent Code Analysis - Linting and error detection for postprocessor code
- Auto-completion - Context-aware code completion for faster development
- Signature Help - Shows parameters and documentation for custom and NX procedures
Supported File Types
.cdl- NX User Defined Event File.tcl- NX TCL postprocessor files.def- NX Definition files
Installation
- Install from the VS Code Marketplace
- Install Python 3.8 or higher
- Open any
.cdl,.tcl, or.deffile - The extension will automatically activate and provide language support
Configuration
The extension can be configured through VS Code settings:
nx-post-support.interpreter- Specify custom Python interpreter path for the language servernx-post-support.formatter- Enable/disable the TCL formatter (default: false)nx-post-support.inlayHint- Enable/disable inlay Hints (default: true)
Usage
Simply open any supported file type and enjoy:
- Syntax highlighting
- Error detection and linting
- Code completion
- Code formatting (Format Document command)
- Hover information
- Signature help while entering procedure arguments
Contributing
This extension is actively maintained. For issues or feature requests, please visit our repository.
License
AGPL-3.0 License - see LICENSE file for details.
Releases
25
2026.8.200
Latest
Languages
Python
97.7%
TypeScript
2.1%
Tcl
0.1%