Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » search eclipse sources
search eclipse sources [message #303290] Thu, 11 May 2006 13:39 Go to next message
Eclipse UserFriend
Hi all,

How can I search the eclipse source code itself? Can I do this within
Eclipse? This is an essential tool for development. For example, I want to
know what plugin provides the "Open File..." action. How can I do that?
The only way I know is to search the eclipse source code...

- Matt
Re: search eclipse sources [message #303293 is a reply to message #303290] Thu, 11 May 2006 13:51 Go to previous messageGo to next message
Eclipse UserFriend
There is a Plug-in Registry view that shows all extensions and extension
points for each plugin. Most of the actionSet/editors/etc extension
points are in org.eclipse.ui, you can expand them to see all that are
available.

If you want things like OpenType to work, you can go to the Plug-in
view. Select all of the plugins, then right-click and use add to java
search ... it'll create a temporary project and put all of the plugins
in the project dependency tree.


You can also just import the source for eclipse. Go to
File>Import...>Plug-in Development>Plug-ins and Fragments.

Under Import As, you can pick one of 3 options. If you pick Projects
with source folders, it will copy the source into your workspace and it
will be available for all of the workspace search operations.

Later,
PW
Re: search eclipse sources [message #303294 is a reply to message #303293] Thu, 11 May 2006 13:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

I don't recommend import as source. If the source is available, use
import as binary with linked content. The source will be attached and
java searches (such as implementers of or references to) will still work
fine. Importing as source plugin doesn't always work because some of the
plugins have special build requirements which are not met by bringing
the source only. Besides, this also would require compiling them again,
which isn't necessary if using binary.

> Under Import As, you can pick one of 3 options. If you pick Projects
> with source folders, it will copy the source into your workspace and it
> will be available for all of the workspace search operations.
>
> Later,
> PW

--
Thanks,
Rich Kulp
Re: search eclipse sources [message #303298 is a reply to message #303294] Thu, 11 May 2006 15:01 Go to previous message
Eclipse UserFriend
Paul and Rich,

Thanks for your quick and helpful replies. Import as Source was exactly
what I needed. I just set up a new workspace for searching the eclipse
sources so I wouldn't bloat up my normal workspace. Import as Source
allowed me to use File Search which was exactly what I wanted to do. Thanks
again.

- Matt

"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:e3vu05$lhv$2@utils.eclipse.org...
>
> I don't recommend import as source. If the source is available, use import
> as binary with linked content. The source will be attached and java
> searches (such as implementers of or references to) will still work fine.
> Importing as source plugin doesn't always work because some of the plugins
> have special build requirements which are not met by bringing the source
> only. Besides, this also would require compiling them again, which isn't
> necessary if using binary.
>
>> Under Import As, you can pick one of 3 options. If you pick Projects
>> with source folders, it will copy the source into your workspace and it
>> will be available for all of the workspace search operations.
>>
>> Later,
>> PW
>
> --
> Thanks,
> Rich Kulp
Previous Topic:Plugin activator is invalid error
Next Topic:export - Import
Goto Forum:
  


Current Time: Mon Nov 10 10:06:00 EST 2025

Powered by FUDForum. Page generated in 0.04515 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top