nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

There are some problems when loading the project with vscode

Hi,

Since NCS 2.0 dosent support SES anymore, I've started using nrf connect in vscode recently.

Here are some problems I met:

1. It takes almost 5 mins to loading everytime I open vscode. Is this normal? What is it loading?

2. A problem is reported on LOG_INF, but the compilation is OK, wondering why.

Looking forward to your reply.

Best wishes,

Joyop

Parents
  • Hello Joyop,

    1: When you say that it takes "almost 5 minutes", is that every time? Can you try to time it, and see if it is exactly the same amount of time, or if it is just a similar amount of time? Just want to check whether there is a timer expiring, or if it actually finds what it is looking for. 

    When it is done loading, does the NRF Connect plugin in VS code work? You are able to build projects? When you close and open VS Code, does it find the projects you were using in the previous session?

    2: This is a known issue, unfortunately. If it is too annoying, you can hover the mouse over it and click "quick fix". I believe that brings up an option to disable squiggly lines. Either way, as long as the project compiles (and it doesn't give you any warnings), then it is just the IDE that doesn't understand it. The compiler understands LOG_INF() just fine.

    Best regards,

    Edvin

  • Hi Edvin,

    Thanks for your reply.

    I repeatedly opened and closed VS code several times and found that most of the time it took two and a half to three minutes for the NRF Connect plugin to load, occasionally more than four minutes .

    Yes, NRF Connect plugin does work when it is done loading. Just curious why it takes so long to load.

    Best wishes,

    Joyop

Reply Children
Related