Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

VS Code extension endless loading

I have previously worked with nRF Connect SDK using VSCode extension. (Didn't use it for like 6 months now)
But when i try to start a new project using VSCode. the extension keep saying it's loading.. i waited like 30 minutes. Still loading.

System:

  • Windows 10
  • VSCode 1.70.0
  • NRFConnect for VSCode v2023.4.148 (tried an earlier version too)
  • NRFConnect for Desktop v4.1.2
  • SDK v2.4.1

Specs:

  • Ryzen 9 6900X
  • 64GB DDR4

Below image shows what i see when i open the extension. This is even after 30 minutes of waiting.

Any ideas what could be wrong?

  • HI.

    a quick update.

    i completely uninstalled the VSCode from my machine (didn't remove NRF command line or the SDKs or the Desktop app). Just the VSCode and the files/folders related to that.

    1) Uninstalled the vscode using control panel
    2) Delete this file manually C:\Users\<USERNAME>\AppData\Roaming\Code
    3) Delete this file manually C:\Users\<USERNAME>\.vscode
    4) Restart system
    5) install the vscode manually again
    6) open up the nRFConnect for Desktop app => Toolchain manager => Open VS Code
    7) in the pop up appearing asking to install the missing extensions accept that
    8) after the installation the nRFConnect extension is working as expected.

    it seems like the issue was in the VSCode and some incompatibility with a recent extension i installed (Maybe the ESPIDF extension).
    Will look into that and if i find some extension that breaks the nRFSDK extension i will let you guys know. So you can look into that more throughly

    Thanks

  • Thanks for the update and the steps that helped you move on. 

    One of my colleague, when he read your description suggested that a complete uninstall and install of VSCode might help. Seem like it did for you, even though it should have worked just to update.

    Once, when I came back from few weeks of travel and wanted to use VSCode, I saw the exact same behavior you see, but I ignored to see that there was a notification pending waiting for user action. The notification never popped and the VSCode went to waiting loop mode for the user input.

    Never saw it after that. Maybe it was the same issue you had, we night not know if you already did a re-install :) 

  • There was no notifications like that. Maybe by mistake i have cleared it weeks ago and that notification never came up.

    Anyways when i check yesterday, there were no notifications.

Related