Visual Studio Code IDE Extension
The deprecated Torizon IDE Extension does not support Torizon OS Version 6 or newer.
Torizon IDE Extension
Based on feedback and past experiences, Toradex redesigned the Torizon Extensions from scratch for better integration with Torizon OS, delivering an improved developer experience. Now the Torizon IDE extension uses the Docker Visual Studio Code extension with your remote Torizon device and simplifies the management of Docker images, containers and volumes during the development cycle.
Also, the new version comes with a new collection of templates, that already configure and automate VS Code tasks needed to cross-compile applications, build Docker images and deploy them to Torizon remote devices. It also attaches the VS Code to a remote debugger, speeding up the application development process.
Documentation Summary
Feature Guides
- Set up the Torizon IDE Extension 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, Test and Push Applications for Production
- Update Project from Template
Development Workflow Examples
- Application Development - .NET Example
- Application Development - Python Example
- Application Development - C/C++ Example
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 | Deprecated VS/VS Code Extension | Torizon IDE Extension | |
---|---|---|---|
Target Device OS Support | TorizonCore 5 | Torizon OS 6 | |
Host OS Support | Linux | Linux | Ubuntu 22.04 |
Windows | Windows (via WSL2) | Ubuntu 22.04 | |
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:
| |
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. |