Visual Code stuck after Windows 11 update

Hi,

Just updated my Windows 11 Pro to the latest (Wed March 1st, 2023) version 22H2 build 22621.1344

Since then, when launching VisualStudioCode (1.76.0) and clicking the nRF Connect button, it's stuck with horizontal blue lines finding for elements (screenshot1)

The left panels never land on anything anymore. 

Update nRF Connect Desktop to version 4.0.0 afterwards, didn't really make any difference.
Plugins seems all ok in VSCode (screenshot2) and the nRF Welcome screen is not even displayed anymore...

I know it's that Windows 11 update as this is a VM and if I revert to the snapshot before the Windows 11 upgrade, everything's fine.

Any idea why or facing the same problem?
Thanks for any clue. I'm now stuck in my development as nothing works anymore.

Steve

screnshot1

Screenshot2

  • Hi Steve,

    Do you open VSCode via the Toolchain Manager? 

    When you open VSCode, do you get some pop up questions on the bottom right corner? If so, please try answering those.

    Best Regards,

    Priyanka

  • ok,

    I think I have found the culprit: Visual Studio Code.
    When updating Windows11, at the same time, in the background, VSCode also updated to version 1.76 (February) and since then, nRF Connect doesn't work anymore. It doesn't even show the nRF Welcome page.

    Even if I update nRF Connect Desktop to the latest 4.0.0 version, VSCode still doesn't want to operate with the nRF plugin.

    To make sure I reverted back to my working VM and disconnected the network card. Then I disabled the auto update in VSCode. Reconnected the card and updated nRF Connect Desktop, everything is fine.
    Then I update Windows 11 and it still works.

    Did try this on two VMs, one on a Windows machine using VMWare Workstation 17 and one on my Mac using VMWare Fusion 13
    I did not try on a physical non VM machine though, so I don't know whether it's related to VMWare or not, but it's doubtful it would.

    If I directly launch VSCode from its own desktop icon or from the toolchain, the behavior is the same.

    Thanks

  • Hi Steve, 

    That sounds strange, as I have VSCode v1.76, nRF Connect SDK v4.0.0 and Windows 11, but I am not able to reproduce the issue. Did you try answering the popus in the bottom right? 

    -Priyanka

  • The only popup I have at launch is "You do not have IntelliSense configured. Unless you set your own configurations, Intellisens may not be functional" Then Select compiler. If select the compiler, it's kind of empty choice.wise.
    But this happens before I even try to click on the nRF plugin.

  • I am going to try to fully reinstall the nRF SDK tonight to see whether this changes anything.  In my case, the VSCode update happened while the plugin was already loaded. Maybe if I re-install it, it will fix things.

Related