开发者

Is there a better way to view un-attached source class decleration in Eclipse?

When looking at a class declarat开发者_开发知识库ion that has no attached, why is it not in plain text allowing it to at least be searchable. Is there a way to view this output in a search format?

Please let me know of a plugin. Thx


If I understand what you are asking here, if you are referring to a class file, then no. You would need to import the source code as a plugin. As an example, take a look at this tutorial


The "Outline" View will display the structure of the class, even if no source is attached, so you can at least see all the class' members, including parameters and return types. The View also has some sorting and filtering abilities, so it might help to find the info you're looking for.

Another option would be to plugin a decompiler, which should open up class files as source files "on the fly". I don't use any personally, but just Google "eclipse decompiler" and see which one you like.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜