mylonics / zephyr-ide

Apache License 2.0
16 stars 2 forks source link

Detect Project/Examples in modules #33

Open beriberikix opened 1 month ago

beriberikix commented 1 month ago

The extension has a neat feature in that it automatically scans samples directory of Zephyr and displays them as template to use as a starting point for Projects. External modules also include samples but the sample doesn't currently scan for those. It would be great to include in the list for the "Create a Project from Template" command.

I'm not sure if there's a convention across module authors, but I'd assume sample and example are common.

hongshui3000 commented 1 month ago

Have a scan filter or be able to specify scan directories. I think the user experience will be better. If there are too many modules or examples are added later in zephyr, scanning them all will take a lot of time, and it will be difficult to find the examples you need.

rijesha commented 1 month ago

Could you provide a workflow/repository that has modules as you describe? @beriberikix Is there a specific place the extension should automatically look for modules or should users specify the scan directory as @hongshui3000 suggests.