Visual studio code warning "The directory "" could not be found."

When starting VCS, I get a message from the nRF Connect for Visual Studio Code extension. It says "The directory "project_name" could not be found. The problem is that I have deleted the folders containing these projects long ago. I have tried uninstalling the extension, deleting the folders and reinstalling VCS, but the problem still remains. It does not affect the development of the application, but it is annoying. I attach a picture of the warning:

Parents
  • Hello,

    Ah, yes, that is annoying - VSC is known to give a lot of these types of notifications.

    Are you working in the same workspace as before?
    If you would like to remove these messages you will need to go into the top directory of the workspace, go into the .vscode folder, and then remove these applications from the settings.json file.

    Best regards,
    Karl

  • Hi,

    Unfortunately, removing the applications from the settings.json file did not help.

    My workspace I was working on was untitled. After adding the name of the workspace, the file {name_of_workspace}.code-workspace appeared in the .vscode folder. In this file nrf-connect applications became visible among which were also old, deleted projects. After removing them from the file, the warning no longer shows up. The problem has been solved, thank you for your help.

    Best regards, Peter

Reply
  • Hi,

    Unfortunately, removing the applications from the settings.json file did not help.

    My workspace I was working on was untitled. After adding the name of the workspace, the file {name_of_workspace}.code-workspace appeared in the .vscode folder. In this file nrf-connect applications became visible among which were also old, deleted projects. After removing them from the file, the warning no longer shows up. The problem has been solved, thank you for your help.

    Best regards, Peter

Children
No Data
Related