Adds a signature help system for TCL commands. The LSP server now exposes signature help for custom and built-in MOM procedures, enabling parameter hints while editing. Tests and documentation were added to cover common usage. - Adds signature_help module to parse and present signatures - Integrates with LSP server to provide signature help on the client - Adds tests for custom and built-in procedures
1.8 KiB
1.8 KiB
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.