简体   繁体   English

VSCode 任务栏图标 - 显示一个空白的白色文件图标

[英]VSCode Taskbar Icon - Shows a blank white file icon

Whenever I open VSCode application on my Windows 10 Machine, the icon shows a blank white file in the taskbar instead of the VSCode icon.每当我在 Windows 10 机器上打开VSCode应用程序时,该图标会在任务栏中显示一个空白的白色文件,而不是VSCode图标。 (Preview) (预习)

I've looked online for a solution, and couldn't find an answer to my issue except for "Uninstalling Google Drive" which I do not have installed.我在网上寻找解决方案,除了我没有安装的“卸载谷歌驱动器”之外找不到我的问题的答案。

Actions done:已采取的行动:

  • Reinstalled VSCode .重新安装VSCode
  • Rebuilt the C: drive icons.重建 C:驱动器图标。

Your help is needed, and thank you!需要您的帮助,谢谢!

After looking through the Icon issue I had, I landed on this website .在查看了我遇到的图标问题后,我登陆了这个网站 I downloaded the cleariconcache.vbs file, and ran it - It worked for all the missing Icons on my Windows 10.我下载了 cleariconcache.vbs 文件并运行它——它适用于我的 Windows 10 上所有丢失的图标。

Hope this helps anyone in the future.希望这对将来的任何人都有帮助。

This is what worked for me:这对我有用:

  1. Right Click the Paper White icon that should be a Visual Studio Code icon.右键单击应该是 Visual Studio Code 图标的 Paper White 图标。
  2. Right click on Visual Studio Code, then click Properties.右键单击 Visual Studio Code,然后单击属性。
  3. Change the Shortcut Target and Start in values to the same folder from where Visual Studio Code is installed.将 Shortcut Target 和 Start in 值更改为安装 Visual Studio Code 的同一文件夹。
  4. Click Ok.单击确定。
  5. Close and reopen Visual Studio Code.关闭并重新打开 Visual Studio Code。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM