简体   繁体   English

如何找到在Eclipse中定义了特定类的插件

[英]How to find the plugin which defined a specific class in Eclipse

In the answer of Eclipse Deployment Assembly does not appear in properties , @CodeSeavers mentioned about: " The Property Page is defined in the plugin org.eclipse.wst.common.modulecore.ui " . 属性中未出现Eclipse Deployment Assembly的答案中,@ CodeSeavers提到了以下内容:“ 属性页面在插件org.eclipse.wst.common.modulecore.ui中定义” But how did @CodeSeavers do to know that? 但是@CodeSeavers是怎么知道的呢? Please show me step by step 请一步一步给我看看

Not sure if this will answer your question, but this is what I usually do: 不知道这是否能回答您的问题,但这是我通常要做的:

  1. Use the plugin spy (Alt + Shift + F1) on any view, editor or anything for that matter to get complete info about that. 在任何视图,编辑器或任何与此相关的东西上使用插件间谍(Alt + Shift + F1),以获取有关此信息的完整信息。 Primarily used for plugin developers to find the ID, and stuff. 主要用于插件开发人员查找ID和其他内容。 In this case it's used to get the name of the plugin that contributes the property page. 在这种情况下,它用于获取构成属性页的插件的名称。

  2. Use the Plugin Search - (Ctrl + H). 使用插件搜索-(Ctrl + H)。 And search for any Extension point or the plugin. 并搜索任何扩展点或插件。 From the search result you can look into the plugin.xml and figure what the plugin contributes and how it is used. 从搜索结果中,您可以查看plugin.xml并确定该插件的作用及其使用方式。

  3. Or you can always directly view the source code and check things out. 或者,您始终可以直接查看源代码并进行检查。 Almost all the plugins that comes with eclipse has a source build to it. eclipse附带的几乎所有插件都有其源代码构建。 That makes life easier. 这使生活更轻松。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM