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

Example projects not detected from the Create Solution view #53

Open gauthiergodart opened 4 months ago

gauthiergodart commented 4 months ago

Type: Bug Report

Bug description

We use a confidential pack. It has been installed with success via cpackget, with an absolute path. When creating a new solution, and selecting our device, the "Template and Examples" selector only proposes creating a Blank solution, despite the fact that we provide examples in the pack, and the pdsc has been edited so that these should be detected (example tag, with an environment tag set to the type "csolution", and load tag pointing to the csolution file).

<example name="***" folder="***" doc="****" version="1.0.2">
    <description>****</description>
    <board vendor="****" name="****" />
    <project>
        <environment name="uv" folder="./ARM" load="****.uvprojx" />
        <environment name="csolution" folder="./KeilStudio" load="****.csolution.yml"/>
    </project>
    <attributes>
        ...
    </attributes>
</example>

image

Expected Behavior

We supposed our examples would appear in the "Template and Examples" dropdown menu. Did we miss something?

Thanks in advance

JoeTheGuitarist commented 4 months ago

Thanks for your feedback. We don't yet support selecting "local" examples from packs in the Create Solution view, but we have this feature in our backlog.

gauthiergodart commented 4 months ago

@JoeTheGuitarist thanks for your answer. Glad to know that this feature is already in your backlog 👍