nxp-mcuxpresso / vscode-for-mcux

Support for NXP Visual Studio Code for MCUXpresso Extension project.
17 stars 1 forks source link

Specify version for Open-CMSIS-Pack #20

Open escherstair opened 11 months ago

escherstair commented 11 months ago

Open-CMSIS-Pack repository can contain multiple versions for the same pack. The extension shows all of them when hovering witht the mouse. immagine

But I cannot find any way to specify which version must be used for the given project. Since the Open-CMSIS-Pack repository can be common (shared) for multiple projects, it's not always true that the latest one is the version to be used. Specifying the version for a given pack is a quite common situation for Open-CMSIS-pack based projects.

purdurnr commented 11 months ago

This is already identified and being added to our next release. Version control of he CMSIS packs will be available in the "Add Open-CMSIS-Pack Package(s)" and "Import Project from Repository". It will allow you to select a specific pack version to install locally, AND/OR have multiple versions, but select an example from a specific version. The other request was to allow user to right click on the pack in the list you show. They can be shown an option to "Select Default Version". This last feature is still being planned.
I will update this issue once improvements are scheduled for the NXP extension release.