How do I find a particular class from an Eclipse plug-in?
2012-02-29 14:19
288 查看
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.
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.
相关文章推荐
- How do I remove a particular element from an array in JavaScript?
- How to create a project from existing source in Eclipse and then find it?
- FAQ How do I write to the console from a plug-in?
- How to remove native support from an Android Project in eclipse because eclipse is showing errors in
- 删除eclipse中安装的插件(How do I remove a plug-in?)
- How do you copy the contents of an array to a std::vector in C++ without looping? (From stack over flow)
- FAQ How do I write to the console from a plug-in?
- In an iOS 5 Storyboard, how do you push a new scene to the original view controller from a Popover?
- How to resolve "your security settings have blocked an untrusted application from running" in Mac
- How to sort an array in Ruby to a particular order?
- How do I generate a SQL script from my diagram in MySQL Workbench?
- Problems occurred when invoking code from plug-in: "org.eclipse.jface".
- How do I UPDATE from a SELECT in SQL Server?
- How do you check if a variable is an array in JavaScript? [duplicate]
- How do enable an ssh server in a zone
- How to resolve "your security settings have blocked an untrusted application from running" in Mac
- How do I find what queries were executing in a SQL memory dump?-----stack
- How to do run-time (or explicit) linking of C++ plug-in components and objects
- Eclipse:Could not create the view: Plug-in org.eclipse.jdt.ui was unable to load class org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart. 解决方法
- How do you make an object in C? Used in RTOS.