ARM-software / vscode-cmsis-csolution

Extension support for VS Code CMSIS Project Extension
https://marketplace.visualstudio.com/items?itemName=Arm.cmsis-csolution
Other
23 stars 5 forks source link

Extension does not work in devcontainers #33

Closed jankap closed 12 months ago

jankap commented 1 year ago

Type: Bug Report

Describe the bug

I'm running VSCode in a devcontainer basing on Ubuntu. cbuild etc. is able to build my project properly. But the VSCode extension seems not to work. It only finds a csolution file, no contexts, no projects (the .cproject.yml exists) are shown:

image

SW Components are empty, too: image

But they are installed: image

In general, I'm missing configuration options like the path to the SW components, where to search for project files, where to find the FLEXLM server, and so on.

Is the extension not yet ready to be used in remote container development?

Thanks :)

Screenshots

Additional context

mcgordonite commented 1 year ago

Hi @jankap, thanks for reporting this issue.

There is indeed a bug with the extension in devcontainers. If you also have the extension installed on your local machine, VS Code will currently try to use that rather than installing the extension in the devcontainer. Since the workspace files aren't on your local machine, the extension fails to load your solution.

We'll release a fix for this soon, so VS Code will install the extension in your remote container.

In general, I'm missing configuration options like the path to the SW components, where to search for project files, where to find the FLEXLM server, and so on.

mcgordonite commented 1 year ago

The latest release, 0.31.0, should restore support for using the extension in devcontainers.

mcgordonite commented 12 months ago

Closing this issue since the extension should now support devcontainers.