我可以在Android Studio中隐藏Thumbs.db吗? [英] Can I hide Thumbs.db in Android Studio?

查看:138
本文介绍了我可以在Android Studio中隐藏Thumbs.db吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Android Studio中的libGDX项目,该项目的资产目录中包含照片.

I'm working with a libGDX project in Android Studio, that has an assets directory containing photos.

Windows是Windows,当我在Windows资源管理器中浏览此目录时,它喜欢创建一个Thumbs.db文件.但是,Android Studio(1.1.0)在文件夹目录(项目窗口)中显示Thumbs.db文件.

Windows being Windows, it likes to create a Thumbs.db file when I browse through this directory in Windows Explorer. However, Android Studio (1.1.0) displays a Thumbs.db file in the folder directory (Project Window).

由于某些应用程序(例如Visual Studio)会自动隐藏系统文件,或者让您排除它们,所以我想知道在Android Studio/IntelliJ中是否有办法做到这一点,或者我是否只需要随文件一起生活.

Since some applications, like Visual Studio, automatically hide system files, or let you exclude them, I'm wondering if there's a way to do this in Android Studio/IntelliJ, or if I just have to live with the file.

我的.gitignore已经排除了将这些对象检入源代码管理的可能性;我真的只是在寻找一种隐藏Thumbs.db的方法,使其无法显示在Android Studio中的目录文件列表中.

My .gitignore is already excluding these from being checked into source control; I'm really just looking for a way to hide Thumbs.db from displaying in the listing of a directories files in Android Studio.

推荐答案

是.您可以将Thumbs.db添加到以下文件和文件夹的列表中:

Yes. You can add Thumbs.db to the list of ignored files and folders in:

File | Settings | IDE Settings | File Types> Ignore files and folders

File | Settings | IDE Settings | File Types > Ignore files and folders

这篇关于我可以在Android Studio中隐藏Thumbs.db吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆