Domanda

I had Visual Studio Code app's icon in my Mac's Dock before, but I can't put it there again.

I tried dragging and dropping the app bundle from the /Applications folder, but the icon doesn't land in the Dock. Have I accidentally banned Visual Studio Code.app from the macOS Dock?

If yes, how can I revoke the ban? I can add icons for other apps just fine. Even when I have Visual Studio Code.app running, the app's icon doesn't appear in the Dock.

How do I resolve the issue and get the app icon to show in the Dock?

È stato utile?

Soluzione

Have I accidentally banned Visual Studio Code.app from the macOS Dock?

No.

How do I resolve the issue and get the app icon to show in the Dock?

You can try resolving the issue by killing the Dock process and re-launching it afresh. To do that, launch Terminal.app and execute the following command-line:

killall Dock

The command-line is case sensitive. Once executed, the Dock would momentarily disappear and then reappear. Now you should be able to add the Visual Studio Code.app icon normally by dragging in the app bundle. You should also be able to see the icon normally when the app is running.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a apple.stackexchange
scroll top