Christoph Brandau 541704f45a
build_and_puplish.yml / build_and_publish (release) Successful in 36s
feat(cdl): add CDL event handler parsing and snippet support
This adds a small DSL-aware helper to extract CDL event
declarations and generate a ready-to-use snippet. It also
extends hover support to show the snippet and parameter
hints for CDL events, improving developer productivity.

- Generate a MOM event handler scaffold and local vars
- Hover shows the generated snippet and mom_ parameter hints
2026-08-19 09:45:57 +02:00
2025-08-11 17:19:47 +02:00
2025-08-06 22:08:39 +02:00
2026-06-18 17:31:51 +02:00
2026-06-18 17:31:51 +02:00
2025-01-08 15:53:19 +01:00
2025-08-04 14:11:55 +02:00
2025-08-16 11:29:09 +02:00
2025-07-15 16:37:40 +02:00
2025-01-07 10:22:59 +01:00

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

  1. Install from the VS Code Marketplace
  2. Install Python 3.11 or higher
  3. Open any .cdl, .tcl, or .def file
  4. 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 server
  • nx-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

Development and debugging

Install the root and client dependencies before the first debug session:

npm install
npm install --prefix client

Use one of the checked-in VS Code launch configurations:

  • Run Extension debugs the TypeScript extension host.
  • Debug Extension and Python debugs both the TypeScript extension and the Python language server. This is the recommended configuration for LSP work.
  • Python Attach attaches manually to an already running Python process.

The launch configuration creates a fresh non-minified bundle with embedded source maps and opens test/test.tcl so the extension activates immediately. For combined debugging, the Python adapter listens on 127.0.0.1:5678; the language server waits for that adapter before initialization. The NX Postprocessor Support output channel reports Python debug mode: enabled and shows _debug_server.py in the server command when the debug path is active.

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.

S
Description
No description provided
Readme AGPL-3.0
1.8 MiB
2026.8.200
Latest
2026-08-19 11:51:01 +00:00
Languages
Python 97.7%
TypeScript 2.1%
Tcl 0.1%