Hi toradex,
I wanted to create new torizon project (for example c++ project ) from the Visual Studio Code, but i could not see any templates availabe?
Here what i can see but no templates to select!
Any Help?
Best regards,
Ahmed49
Hi toradex,
I wanted to create new torizon project (for example c++ project ) from the Visual Studio Code, but i could not see any templates availabe?
Here what i can see but no templates to select!
Any Help?
Best regards,
Ahmed49
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello Ahmed,
I’m sorry to hear you’re having trouble with missing templates when creating a new Torizon project in Visual Studio Code. Let’s try a few steps to resolve this:
Ensure the Torizon Extension is Installed: First, check that the Torizon extension for Visual Studio Code is installed and up-to-date. You can do this by going to the Extensions view in Visual Studio Code and searching for “Torizon”. If it’s not installed, you can add it from the Visual Studio Code Marketplace.
Check for Updates: If the extension is already installed, make sure it’s the latest version. Updates often include new templates or fixes for issues related to template availability.
Restart Visual Studio Code: After installing or updating the extension, restart Visual Studio Code to ensure all changes take effect.
Use the Command Palette: Open the Command Palette in Visual Studio Code (Ctrl+Shift+P or Cmd+Shift+P on macOS) and type “Torizon/C-C++: Create C/C++ application”. This should start the process to create a new Torizon project and show you the available templates.
Check Docker Configuration: Make sure Docker is running on your system, as the Torizon extension relies on Docker to set up the development environment. If Docker isn’t running, start it and try creating a new project again.
Verify Internet Connection: The extension might need to download additional resources or templates from the internet. Ensure your internet connection is stable.
I hope these steps help you get the templates you need. If the issue persists, there might be a deeper configuration problem with Visual Studio Code or the Torizon extension.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem:
Visual Studio Code IDE Extension | Toradex Developer Center.
Hi, @Ahmed49 !
I could reproduce a similar behavior after disconnecting my computer from the internet (as pointed out on bullet 6 from @ToradexAI’s answer).
Could you please try again with internet access? Torizon IDE gets the template list from https://github.com/toradex/vscode-torizon-templates.git/
, as you can see in my logs:
[11-28 08:56:34.319] Activating Torizon IDE ...
[11-28 08:56:34.319] Torizon IDE version :: 2.6.3
[11-28 08:57:34.322] Latest Torizon IDE published :: not possible to reach marketplace
[11-28 08:57:34.322] Resolving host IP address ...
[11-28 08:57:34.333] Host IP address OK
[11-28 08:57:34.342] Docker installed OK
[11-28 08:57:34.375] Docker running OK
[11-28 08:57:34.420] Docker compose OK
[11-28 08:57:34.429] PowerShell OK
[11-28 08:57:34.439] git OK
[11-28 08:57:34.448] dig OK
[11-28 08:57:34.457] avahi-resolve OK
[11-28 08:57:34.466] nmap OK
[11-28 08:57:34.474] iputils-ping OK
[11-28 08:57:34.484] file OK
[11-28 08:57:34.496] sshpass OK
[11-28 08:57:34.507] net-tools OK
[11-28 08:57:34.517] rsync OK
[11-28 08:57:34.517] Cloning project templates
[11-28 08:57:34.527] Project templates clone OK
[11-28 08:57:34.594] Cloning project templates
[11-28 08:57:34.612] ERROR :: Error trying to clone application templates
[11-28 08:57:34.612] Cloning into '/home/grilo/.apollox'...
fatal: unable to access 'https://github.com/toradex/vscode-torizon-templates.git/': Could not resolve host: github.com
[11-28 08:57:34.623] ERROR :: Error trying to checkout application templates
[11-28 08:57:34.623] fatal: cannot change to '/home/grilo/.apollox': No such file or directory
[11-28 08:57:34.624] Checking connected devices ...
[11-28 08:57:34.625] Scanning Torizon devices ...
[11-28 08:57:34.636] Debian bookworm packages list load OK
[11-28 08:57:34.637] Torizon IDE extension activated
Best regards,