Search code examples
visual-studio-codevscode-extensions

How To Re-add An Extension To The VSCode Sidebar/Activity Bar


I accidentally removed the MongoDB extension from my sidebar/activity bar in VSCode while adjusting my layout. When I initially installed the extension, It automatically put a MongoDB icon on the sidebar which was convenient.

I tried restarting VSCode, dragging and dropping from the extensions panel, reinstalling the extension, going through all VSCode settings, googling, and SO'ing, but I couldn't find any solution.

If there's no answer, I might just have to try uninstalling VSCode and reinstalling everything again.

Docker extension available on sidebar


Solution

  • In general, if you have moved views around and get messed up, try the

    View: Reset View Locations command from the Command Palette.

    It will reset all your views but you will have at least refound or relocated any missing views.

    Also, if you can't find a view it was probably inside another view - not just in a view container like the Side Bar or Panel at the top level, but within one of the other views within one of the main view containers.