After Visual Studio Code update, its icon on Dock has changed to a very tiny one which is literally inaccessible!
There is no way you can click on it or view options.
Does anyone know how to remove it from the Dock?
macOS: Mojave (10.14)
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.
Sign up to join this communityAfter Visual Studio Code update, its icon on Dock has changed to a very tiny one which is literally inaccessible!
There is no way you can click on it or view options.
Does anyone know how to remove it from the Dock?
macOS: Mojave (10.14)
Edit As pointed by many others (@nitive's comment below) there is a much easier way to fix this and it is killall Dock
. Kudos to @nitive
Original long, boring, and not so efficient answer
LOL right after posting it, I found the answer
Fist: open the Dock config (plist):
open ~/Library/Preferences/com.apple.Dock.plist
Second: Find the item in persistent-apps
:
Third: Delete the item! In this case, "Item 14"
Forth: Save the file
Fifth: kill the Dock to force it to restart
Honestly, I was expecting it not to have the VS Code icon anymore but magically the icon reappeared there with the right size!
killall Dock
) was enough for me and a few other people. No need to edit plist file
– Nitive
Dec 5 '18 at 8:31
killall Dock
), I think it should be in original answer
– naffiq
Dec 18 '18 at 9:58
I'd recommend removing the app from the dock and then opening it again, that should restore the correct icon. There are a few ways to remove an app from the dock:
> killall Dock
This should work like charm, nothing else is needed. Restart your Dock.