在Eclipse CTRL单击类并显示二进制/罐,而不是源 [英] ctrl click class in Eclipse shows binary / jar instead of source

查看:117
本文介绍了在Eclipse CTRL单击类并显示二进制/罐,而不是源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Eclipse 版本:太阳神服务版本2 建立ID:20110218-0911

Using Eclipse Version: Helios Service Release 2 Build id: 20110218-0911

与Android插件。我有一个Android项目AndroidUtil被标记为库项目,我主要的Andr​​oid应用程序。当我按Ctrl +单击AndroidUtil定义的类的名字,我采取了二进制/ jar版本的类,而不是源文件。我怎样才能让它带我到源呢?

with Android plugin. I have an Android project "AndroidUtil" that is marked as a "library" project for my main Android application. When I ctrl + click the name of a class defined in AndroidUtil, I am taken to the binary / jar version of that class instead of the source file. How can I make it take me to the source instead?

推荐答案

当你右击并会显示在编辑器窗格中的类文件编辑器,你应该看到一个附加来源按钮。单击并将其指向库项目在您的工作空间。

When you control-click and it displays the class file editor in the editor pane, you should see an "Attach Source" button. Click that and point it to the library project in your workspace.

这篇关于在Eclipse CTRL单击类并显示二进制/罐,而不是源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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