There are two easier approaches to adding Eclipse plug-ins to the Java search engine's index.
Option 1
In Eclipse 3.5 (Galileo) or later
- Open the Plug-in Development Preference Page by going to Window > Preferences > Plug-in Development.
- Check the box marked Include all plug-ins from target in Java search.
Option 2
- Activate the 'Plug-ins' view by going to Window > Show View > Other > PDE > Plug-ins.
- Select all plug-ins in the view.
- From the context menu, select Add to Java Search.
Once you have done this, switch back to the Java perspective and use Navigate > Open Type (or press Ctrl + Shift + T) and start typing the name of the class or interface you are looking for. You will now be able to quickly open an editor
on any Java type in the Eclipse Platform.
同时配合plugin spy,可以快速定位source code.
本文介绍了两种简单的方法来将Eclipse插件添加到Java搜索引擎的索引中:一是通过首选项页面设置,二是使用插件视图进行操作。完成配置后,用户能够快速打开编辑器并访问Eclipse平台中的任何Java类型。
3950

被折叠的 条评论
为什么被折叠?



