Visual Code issues

While using Visual Code I have noticed that:

  • First compile always generates errors, which is fine. The error notifications are persistent even after they have been fixed. The only thing that clears these errors is exiting Visual Code and restarting the program.
  • Adding a second build within the same project consistently cause all builds to fail with missing file errors
  • While creating custom applications, such as the Hello World App from the DevAcademy, the printk function does not output to any terminal. Also the DevAcademy still references the NRF Terminal, which has been removed
  • Many of the sample applications or examples do not copy over correctly into target directories with several files having hard coded directory paths which are not valid due to the path move

These are annoyances and can be worked around but having to close and reopen VC to clear errors is troublesome and not being able to reliably create multiple builds in the same project without bricking the original build is limiting the versatility of the system.

Parents
  • Hi Warren

    Which version of NCS and the toolchain are you using? This does not sound like the normal behavior so I hope you can give me a bit more information regarding the issue. 

    Could you also show the errors you get and name some of the samples you have seen issues with so I can see if I can reproduce them on my end?

    I would also suggest that you open the nRF Connect terminal in VScode and run "west update"

    Regarding the errors, is it a error that stops the compiling of the application or is it found in the "Problems" tab in the terminal view in VScode?

    Regards

    Runar

Reply
  • Hi Warren

    Which version of NCS and the toolchain are you using? This does not sound like the normal behavior so I hope you can give me a bit more information regarding the issue. 

    Could you also show the errors you get and name some of the samples you have seen issues with so I can see if I can reproduce them on my end?

    I would also suggest that you open the nRF Connect terminal in VScode and run "west update"

    Regarding the errors, is it a error that stops the compiling of the application or is it found in the "Problems" tab in the terminal view in VScode?

    Regards

    Runar

Children
No Data
Related