Eclipse工作区中的.metadata文件夹是什么? [英] What is the .metadata folder in Eclipse workspace?
问题描述
我的工作空间文件夹包含一个名为.metadata的隐藏文件夹。定期备份此文件夹很重要吗?
My "workspace" folder includes a hidden folder called ".metadata". Is it important to backup this folder regularly?
推荐答案
.metadata
文件夹是Eclipse插件可以保存任何要保存的信息。这将包括您的首选项设置和Java插件快速查找类和方法的索引。
The .metadata
folder is an area where Eclipse plug-ins can save any information they want to save. This will include things like your preference setting and the index the Java plug-in uses to find classes and methods quickly.
它还包括。日志
文件,其中Eclipse记录错误。
It also includes the .log
file where Eclipse logs errors.
正好存储的内容取决于您安装的插件(我的一个插件在.metadata中有一个数据库),所以最好备份它(和项目一起)。
Exactly what is stored there depends on the plug-ins you have installed (one of my plug-ins has a database in the .metadata) so it is a good idea to back it up (along with the projects).
这篇关于Eclipse工作区中的.metadata文件夹是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!