Assistance Needed with VS Code and nRF Extension Configuration

Hi,

I recently encountered an issue with VS Code and the nRF Extension while trying to use my nRF52840. I have a perfectly functioning project that compiles well. However, a few days ago, I installed Python and modified some environment variables. Now, my VS Code doesn't show the View anymore, and I can't compile from VS Code. I can only do it from the Command Line Tool.

I've already tried uninstalling all the packages, extensions, and VS Code itself, but nothing has helped. I keep encountering the same issue. Could you help me reconfigure VS Code with nRF Connect to its original settings and explain how to do it? I'll also send you some screenshots of my current VS Code output where I can't see the project I've loaded.

This is the message I encounter when attempting to use the Welcome Viewer:

"Error running command nrf-connect.refreshDevicesView: command 'nrf-connect.refreshDevicesView' not found. This is likely caused by the extension that contributes nrf-connect.refreshDevicesView."

 

Thank you in advance,

Cristian

   

  • Hi Cristian,

    Which environment variables did you change? Like you wrote, the change could be the reason that the extension is not able to launch properly. If you know what you changed it will be much easier to find out what is going wrong with the extension launch.

    In addition to the specific environment variables you changed, the support information for the extension can also help. You can generate it by clicking the headset icon in the WELCOME tab of the extension.

    You can also share the generated information with us, but note that it could contain sensitive information about your environment. Remove any confidential or sensitive information before sharing the support information in a public ticket. 

    Best regards,

    Maria

  • Hi Maria,

    Thank you for your reply. I successfully resolved the issue by unistalling both VS Code and the nRF Toolchain. Everything is working now.

    if i have any more problems soon, i'll notify you.

    Best regards,

    Cristian

  • Hi Cristian,

    Good to hear that you were able to resolve it.

    Closing this ticket for now, and I wish you a great day!

    Best regards,

    Maria

Related