17

I had Visual Studio Code app icon in the Dock before, but I can't put it there again. I tried dragging and dropping from the the /Applications folder, but it doesn't land there. Have I accidentally banned Visual Studio Code app from the Dock?

If so, how can I remove that ban? I can add icons for other apps to the Dock just fine. Even when I have Visual Studio Code open, it does not show in the Dock.

How do I resolve the issue?

  • Welcome to Ask Different :) Try restring the Dock by running killall Dock in the Terminal. – Nimesh Neema Dec 5 '18 at 9:55
  • @NimeshNeema that worked :D Plz make it as an answer and I'll mark it as correct! Thanks! – Brainmaniac Dec 5 '18 at 10:01
49

Try restarting the Dock by running the following command in a Terminal:

killall Dock

This will re-launch the process responsible for Dock in macOS. Once re-launched, you should be able to see and add the Visual Studio Code app icon in the Dock.

  • Yes, basic troubleshooting steps are usually: 1. Killall the dock 2. Killall the Finder 3. Reboot – Manchineel Dec 5 '18 at 22:29
  • 4
    I did reboot my Mac and it didn't work. Killing the dock as described worked. That is weird. Thank you. – Maxime Jan 15 at 14:13
  • 1
    That... actually worked. I don't know why. Thank you! – Con Antonakos Apr 11 at 15:39
  • 1
    "Have you tried turning it off and on again?" – Drenmi May 29 at 8:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .