最近用Typescript开发专案,小弟用的是Windows10笔电
遇到一个小烦恼,那就是每次打开都是 .ts
的文件夹时
就会像下方图片一样
https://64.media.tumblr.com/88ad07d8a65d5cc2db65db2b40e6c964/tumblr_inline_pbbwe9nTnZ1w052rv_500.gifv
每次打开都会重新刷新,然后变成大图标
小弟google了找到解决方案,在这裏和大家分享
regedit.exe
,点击Ok
,便会打开 Registry Editor
Computer\HKEY_CLASSES_ROOT\.ts

PerceivedType


接着重新开机,应该就能解决了。
参考资料:
https://wizcorp.tumblr.com/post/176015676507/fix-inside-why-windows-explorer-goes-funky-in
https://www.zhihu.com/question/373189177/answer/1180405912