Documentation: https://johannespettersson80.github.io/trust-platform/
truST is an open-source IEC 61131-3 Structured Text toolchain with:
- a VS Code extension and IEC-aware language server
- a live runtime panel and
trust-debugdebugger in the editor trust-runtimefor local and target execution- browser IDE and HMI pages at
/ideand/hmi - CLI, agent, and harness workflows for automation
Desktop VS Code is the primary truST engineering surface: edit Structured Text, inspect live I/O and memory, view compile diagnostics, and debug the same running project without leaving the editor.
- Install truST: docs site ->
Start->Installation - Program in VS Code: docs site ->
Start->Program In VS Code - Operate in Browser HMI: docs site ->
Start->Operate In Browser HMI
- IEC-aware diagnostics, formatting, rename, navigation, and refactors
- runtime panel with live values, memory, and I/O inspection
- debugger with breakpoints, stepping, locals, and call stack
- browser IDE and operator HMI backed by the same project/runtime
- deterministic test and harness workflows
- PLCopen XML import/export and visual editor support
- Install
truST LSPfrom the VS Code Marketplace. - Download released binaries from the latest GitHub release if you need the runtime and debugger locally.
- Open the docs site for guided setup, examples, and target-host instructions.
Command-line extension install:
code --install-extension trust-platform.trust-lsp| Component | Binary | Purpose |
|---|---|---|
| Language Server | trust-lsp |
Diagnostics, navigation, formatting, refactors |
| Runtime | trust-runtime |
Runtime execution engine, CLI workflows, web UI |
| Debug Adapter | trust-debug |
DAP debugging |
| Bundle Tool | trust-bundle-gen |
STBC bundle generation |
- VS Code Marketplace: live
- GitHub Releases: live
- Runtime + debugger: experimental
- Rust MSRV: 1.85
- GitHub Issues: https://github.com/johannesPettersson80/trust-platform/issues
- Email: johannes_salomon@hotmail.com
- LinkedIn: https://linkedin.com/in/johannes-pettersson
Licensed under MIT OR Apache-2.0. See LICENSE-MIT and LICENSE-APACHE.
