Manage components not working on VSCode?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Manage components not working on VSCode?

跳至解决方案
1,700 次查看
jBahae
Contributor I

Hello everyone,

I'm experiencing an issue with managing SDK components in Visual Studio Code. When I click on "Manage components," nothing happens at all.
I access this feature by right-clicking on the project, then selecting Configure → Manage Components.

I've attached a screenshot showing all the tools I have installed. And as you can see, the SDK has been properly added to my repository.
Is there something I'm missing in my setup? Has anyone else encountered this issue and found a solution?

Any help would be greatly appreciated!

0 项奖励
回复
1 解答
1,607 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @jBahae,

I have replicated this issue. Indeed, when trying to manage components from a project that was converted to VS Code using the MCUXpresso IDE Project Converter, it won't work. I believe this is a bug and I already reported it to the VS Code team for their review. In the meantime, I recommend you manage the necessary components using the option in MCUXpresso, before importing the project to VS Code. This seems to be the only current workaround.

Sorry for the inconvenience this may cause.

BR,
Edwin.

在原帖中查看解决方案

3 回复数
1,688 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @jBahae,

The manage component option will prompt a component search on the top search bar of VS Code:

EdwinHz_0-1743800198312.png

It might be slow, but after a while of loading the available components, these should display as such:

EdwinHz_1-1743800229775.png

Do you see the top search bar loading? If so, please be patient as it will take a while to load all of the components.

BR,
Edwin.

0 项奖励
回复
1,650 次查看
jBahae
Contributor I
Thank you for your reply. It works for projects created directly in VSCode - I created a new SDK example following your instructions and it worked as demonstrated.
However, my main project was originally developed in MCUXpresso IDE, and I'm now trying to migrate it to VSCode. Is there a way to make this functionality work for projects that were initially created in MCUXpresso IDE?
0 项奖励
回复
1,608 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @jBahae,

I have replicated this issue. Indeed, when trying to manage components from a project that was converted to VS Code using the MCUXpresso IDE Project Converter, it won't work. I believe this is a bug and I already reported it to the VS Code team for their review. In the meantime, I recommend you manage the necessary components using the option in MCUXpresso, before importing the project to VS Code. This seems to be the only current workaround.

Sorry for the inconvenience this may cause.

BR,
Edwin.