Eclipse的对象装饰物显示Mercurial库 [英] Eclipse Object adornments don't display for Mercurial Repository

查看:251
本文介绍了Eclipse的对象装饰物显示Mercurial库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一个标准的的Andr​​oid 的项目,如果有任何警告会有一个相应的<一个href=\"http://help.eclipse.org/juno/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/ref-icons.htm\"相对=nofollow>警告图标以及下划线的文本明确demonstate一个潜在的问题。

In a standard Android project, if there are any warnings there will be a corresponding Warning Icon as well as underlined text to clearly demonstate a potential issue.

不过,如果您选择克隆现有水银库,这些警告图标不再显示。有什么办法来显示这是通过克隆水银存储库中创建一个项目,警告和错误?

However, if you choose to clone an existing Mercurial repository, these warning icons are no longer displayed. Is there any way to show warnings and errors in a project that was created by cloning a Mercurial repository?

在左边的文件是从本地的Andr​​oid 项目。右边的文件是一个从水银克隆库项目。请注意有没有波浪下划线上右边的文件警告。

The file on the left is from a local Android project. The file on the right is a Project that was cloned from a Mercurial repository. Notice there are no squiggly underline warnings on the file on the right.

推荐答案

比较项目文件中的两种情形。该项目文件在Eclipse项目的根目录下找到并确定哪些插件和建设者正在为项目启用。最有可能的解决方法是提交正确配置项目文件,使新的克隆具有相同的配置。

Compare the .project file in the two situations. The .project file is found at the root of the Eclipse project and determines which plugins and builder are enabled for the project. Most likely the fix is to commit the correctly configured project file so that new clones have the same configuration.

这篇关于Eclipse的对象装饰物显示Mercurial库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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