STM32 VS Code Extension and Devcontainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-08 4:06 AM
I am a happy VSCode developer using docker devcontainers to create an easily reproducible environment for development. I am struggling with a strange bug with the "STM32 VS Code Extension" (v2.0.1).
If I try to access it, after opening the container, I get the following error:
"Cannot activate the 'STM32 VS Code Extension' extension because it depends on the 'C/C++ Extension Pack' extension, which is not loaded. Would you like to reload the window to load the extension?"
This is strange because the C/C++ Extension Pack is loaded and part of my dev container.
I have the option to "Reload Window", but hitting it only results in a reload and the same message popping back up.
Has anyone been able to use this vscode extension inside a devcontainer?
Head in the embedded
- Labels:
-
Bug-report
-
VSCode for STM32
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-15 6:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-18 2:08 AM
Hi @pcb
Could you please attach the content of 'output' 'debug console' and 'terminal' windows when you are getting the issue please ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-18 2:14 AM
Thank you for looking into this, @Nawres GHARBI
"Debug Console" and "Terminal" are both empty, no text there.
See attached photo.
Head in the embedded
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-22 5:19 AM
Same problem here:
reinstalled, rebooted etc etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-25 6:14 AM
hello @pcb @mongolracer
could you please follow the steps in this link and give your feedback
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-26 12:32 AM
@Nawres GHARBI I don't understand what you want me to do here.
Please elaborate.
I have Jupyter, pylance, and python extensions in vscode and STM32 VS Code extension works.
In my devcontainer I have none of them installed, the there the STM32 VS Code extension does not work.
Head in the embedded
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-30 7:13 AM
I'm having the same issue. It looks like the STM32 VS Code extension is installing locally instead of in the container. Since C/C++ extension is installed in the container, STM32 VS Code extension doesn't see it.
Ideally, STM32 VS Code Extension and STM32CubeMX should be in the container so we can generate code to the source directory in the container. That way we don't have to make the source directory available to the host (major performance hit while compiling), or sync it through a remote GIT repo (creates unnecessary commits, and add an unnecessary step to the process).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-22 12:55 PM
I'm having the same issue. Any News?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-01 10:11 AM - edited ‎2024-07-01 10:13 AM
Experiencing the same issue. I think it it a problem of the STM32 VS Code Extension.
It is stil not fixed by now.
Docker 27.0.2, Run container in privileged mode.
