nRF Connect SDK v2.7.0 - VS Code Extension Update fails to launch VS Code successfully

Hello,

I was able to update nRF Connect SDK to v2.7.0 fine using nRF Connect for Desktop. However, the nRF Connect for VS Code extension update v2024.7.13 causes VS Code launch to fail consistently.

Environment is macOS 11.7.10.

nRF Connect VS Code v2024.3.25 runs fine.  Update to v2024.7.13 prevents VS Code from launching successfully. 


How do I disable the "nRF Connect for VS Code" update so that I can still use v2024.3.25 until the extension is fixed? I only see options "Update" and "Auto Update".

A "Disable Update" would be useful so that VS Code still launches with the "nRF Connect for VS Code" extension  update disabled.


Hopefully the nRF Connect VS Code extension bug will be fixed very soon. Thank you.

Regards,
Ravi

Parents Reply Children
  • Hello Vidar,

    Thank you for the very quick response. It's much appreciated.

    I switched to the pre-release version of the extension works for SDK v2.70. However, in the background VS Code still updated the extension and on restarting VS Code attempted to load the latest extension. VS Code then failed to launch successfully.

    There are only two options for the extension, "Update" and "Auto Update", with "Update" being the default.

    To prevent the extension update, I ended up setting  Preferences > Settings > Update: Mode and Extensions: Auto Update to "none". Unfortunately this applies all extensions. It would be good to have a "Disable Update" option for a specific extension, i.e. nRF Connect for VS Code.

    Above works for the latest v2024.7.18 (pre-release) and the earlier v2024.3.25. Thank you.

    Regards,
    Ravi

  • Hello Ravi,

    Happy to help. Regarding the rollback of the extension, I found an option to do it through the UI without having to manually download the old installer:

    Unfortunately, it appears that VS Code lacks the feature to allow individual update settings for extensions. The update modes can only be applied to all extensions globally.

    Regards,

    Vidar

  • Hi Vidar,

    I installed a previous version of the nRF Connect extension through the UI. 

    All works fine with the v2024.7.18 (pre-release). If I encounter any issues, I'll rollback to v2024.3.25.

    As always, Thank you for your assistance.


    Kind Regards,
    Ravi

Related