27

I am new to Visual Studio Code. I have configured my environment for C/C++ development and everything is working.

However, when starting VS Code, I receive these notifications in the bottom right corner.

  • "No view is registered with id: codespaces.explorerDetails"
  • "No view is registered with id: codespaces.explorer"
Christopher Peisert
  • 21,862
  • 3
  • 86
  • 117

2 Answers2

60

A deprecated Codespaces extension ms-vsonline.vsonline causes these error messages. But the extension does not appear in the user interface.

You can uninstall the deprecated extension by pasting the following command into a Windows PowerShell terminal:

code --uninstall-extension ms-vsonline.vsonline

The solution was found here: https://github.com/microsoft/vscode/issues/144971

Christopher Peisert
  • 21,862
  • 3
  • 86
  • 117
banzhe
  • 651
  • 4
  • 6
  • 2
    where should i paste this particular command? – I Have 2 Brain Cells Apr 01 '22 at 09:46
  • 3
    @Thefutureguy123 You can paste it into a powershell (on windows), or your default console on linux/macos. you can also use the integrated terminal of VSCode (Terminal -> New Terminal) – soulflyman Apr 01 '22 at 10:15
  • 1
    @banzhe This fixed it for me.. been searching for a fix for a couple of weeks.. thank you! Had to issue the command in Powershell, which I almost never use. – SimonS Apr 04 '22 at 08:26
6

For those on a Mac, you may need to set 'code' in the PATH command, before implementing the above solution.

Open the Command Palette (Cmd+Shift+P) in Visual Studio Code and type 'shell command' to find the Shell Command: Install 'code' command in PATH command.

chikega
  • 135
  • 1
  • 6