Eclipse Object adornments don't display for Mercurial Repository

天涯浪子 提交于 2019-12-25 05:02:31

问题


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?

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.


回答1:


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.



来源:https://stackoverflow.com/questions/16030306/eclipse-object-adornments-dont-display-for-mercurial-repository

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!