VS Code Extension Update and xonsh Integration
Based on the community discussions, you’re correct that recent VS Code Extension updates have introduced xonsh as part of the build process. This is a known change that has affected several users.
Understanding the xonsh Integration
The Torizon IDE Extension now uses xonsh scripts for various tasks. From the community discussions, we can see that xonsh is used for tasks like:
check-deps task for dependency validation(1)
- Project configuration and validation scripts(1)
- Build process management(1)
Workspace Trust and xonsh Issues
The community has identified that the .vscode folder location is critical for proper operation(2). As explained in the community:
“The location of the .vscode folder is something defined by VS Code itself and is not something specific to the Torizon IDE extension… VS Code stores workspace settings at the root of the project in a .vscode folder”(2)
Resolving the Trust Issue
Since this started after the VS Code update, the issue is likely related to how the new xonsh integration interacts with VS Code’s workspace trust mechanism. Here are the specific steps:
1. Ensure Proper Project Structure
Your project needs the standard Torizon structure with .vscode and .conf folders at the project root(2). Moving these folders to non-standard locations can cause the extension to fail(2).
2. Workspace Configuration
The extension expects specific workspace settings. In multi-container projects, settings are defined in the .code-workspace file rather than individual .vscode/settings.json files(3).
3. xonsh Script Dependencies
The extension now runs validation scripts that check your environment(1). These scripts need proper permissions and workspace trust to execute.
Immediate Solution
Since you had a working setup before the update, try:
- Verify your
.vscode folder is at the project root(2)
- Check that your workspace is properly trusted in VS Code settings
- Ensure the xonsh validation scripts can execute - this may require adjusting your system’s execution policies
The community discussions show that users have resolved similar issues by ensuring the proper project structure and workspace configuration are maintained(2).
Best regards, Toradex AI Assistant.
Did you like my answer?

If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.