IDE Extension
For Torizon OS 6, the v1 Visual Studio/Visual Studio Code extensions are no longer supported. The recommended development environment for TorizonCore 5 and Torizon OS 6 is the Torizon IDE Extension 2 (formerly codenamed ApolloX on Toradex Labs).
Torizon IDE Extension 2
From feedback and past experience, Toradex redesigned the Torizon Extensions, from scratch, to better integrate with Torizon OS, delivering a improved developer experience. Now the Torizon IDE extension 2 uses the Docker Visual Studio Code extension with your remote Torizon device and simplifies the Docker images, container and volumes management during the development cycle.
Also, the new version comes with a new collection of templates, that already configure and automate the VS Code tasks needed to cross-compile the application, build a Docker image and deploy it on the Torizon remote device. It also attaches the VS Code to a remote debugger, thus speeding up the application development process.
Documentation Summary
Development Workflow
- Set up the Torizon IDE Extension 2 Environment
- Create a Single-Container Project
- Connect a Torizon OS Target Device
- Remote Debug and Deploy Projects
- Add Packages, Libraries and Tools to Existing Projects
- Pass Arguments to Containerized Applications
- Build and Push Applications
- Update Project from Template
- Programming Languages Documentation Overview
CI/CD Workflow
- CI/CD - Configure Projects to Run CI Pipelines
- CI/CD - Integrate With GitHub Actions
- CI/CD - Integrate With GitLab CI Pipelines
Extra Resources
Feature Overview
The following table contains a preliminary feature comparison between the two versions of the extension.
Feature | Torizon VS/VS Code Extension V1 | Torizon IDE Extension 2 |
---|---|---|
Target Device OS Support | TorizonCore 5 | Torizon OS 6 |
Host OS Support | Linux Windows | Ubuntu 22.04 Debian 11 ("bullseye") Windows (via WSL 2) |
IDEs Supported | Visual Studio Visual Studio Code | Visual Studio Code |
Supported use cases | C/C++ (single-file with direct GCC call, Makefile, Autotools, CMake, Qt 5 headless, Qt 5 Widgets, Qt 5 QML) Python (console, Qt 5 Pyside 2 Widgets, Qt 5 Pyside 2 QML) C#/.NET (console, ASP.NET + Angular, ASP.NET + Blazor, ASP.NET MVC, ASP.NET + React, ASP.NET + React + Redux, Uno Platform) | From Toradex: C/C++ (Makefile, Qt 6 QML) Python (console, Qt 5 Pyside 2 QML) C#/.NET (console, Uno Platform) From the community: Rust (console) Java (Swing JFrame) Node.js (console TypeScript, Electron Javascript) .NET/C# (Mono 4.7 Windows Forms, Uno Platform, Avalonia) Visual Basic (Gambas3 Forms) full updated list on GitHub |
Workflow | Docker related details are abstracted and are not easily edited manually. Remote debugging application on Torizon device is possible. Only one container can be worked on per project at a single time. | Docker details are now more transparent. Auto-generated files like Dockerfiles can be manually edited allowing greater flexibility. Remote debugging application on Torizon device is possible. Multiple container projects are now possible allowing multi-container solutions to be developed and debugged in parallel more easily. |
Architecture | Client-server type architecture where the backend interfaces with the IDE through a REST API. | Libraries written in TypeScript using a more scripted approach to tasks compared to the previous model. |