Eclipse has a huge variety of open source projects maintained in a bewildering collection of Git repositories. Many are hosted at Eclipse:
https://git.eclipse.org/c/Others are hosted at Github:
https://github.com/eclipse/
Finding the Git repository that contains a particular Java class is like finding a needle in a haystack. This is where Open Discovered Type comes to the rescue. Once a week, Oomph indexes every *.java file in every Git repository hosted by git.eclipse.org and github.com/eclipse. The Open Discovered Type dialog loads this information to populate a tree view of all these packages and classes.
Please read the help information the first time you use it. It was written to help you get the most out of this dialog. Also be patient the first time you launch the dialog; there's a lot of information to download.
Suffice to say, you can use the dialog much like you do Open Type. So here we search for JavaCore and discover all the classes with that name:
We can select any one of them and discover all the Git repositories containing that class and we can use the context menu for each link for each repository or for the specific file in that repository to open the link where we want it opened. From that link, you can of course see the full history of the repository or specific file.
As a bonus, if this repository provides an Oomph setup, you can easily use that Oomph setup to import the sources for this project into your workspace. If there is no Oomph setup, you'll have to do that manually.
In any case, contributing to Eclipse open source projects has never been easier.
No comments:
Post a Comment