Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could mention the project link in the plugin spy #1626

Open
opcoach opened this issue Feb 21, 2025 · 5 comments
Open

Could mention the project link in the plugin spy #1626

opcoach opened this issue Feb 21, 2025 · 5 comments
Labels
good first issue Good for newcomers

Comments

@opcoach
Copy link
Contributor

opcoach commented Feb 21, 2025

The plugin spy (in the org.eclipse.pde.runtime plugin), is really good to display the UI and selection information.

For instance, if we open the plugin spy on the MarketplaceDialog we get this:

Image

But where can we find the epp.mpc project on GitHub ? Of course we can find it (after some minutes I could find it here : https://github.com/eclipse-mpc), but having a direct link to the project (if available), would be really handy to create new issues ...

@merks
Copy link
Contributor

merks commented Feb 21, 2025

Did you ever have a look at Navigate -> Open Discovered Type?

@HannesWell
Copy link
Member

Did you ever have a look at Navigate -> Open Discovered Type?

That only works if one has the corresponding bundle in the TP, but that's not always the case.
I think what Olivier is looking for is to display the information of the Eclipse-SourceReferences header from a Plug-in's MANIFEST.MF as well. For example for org.eclipse.jdt.ui it is:

Eclipse-SourceReferences: scm:git:https://github.com/eclipse-jdt/eclipse
 .jdt.ui.git;path="org.eclipse.jdt.ui";tag="I20250213-1800";commitId=e81
 3d376b64a7c421c7008833b9464ab041797f3

So if provided we can easily extract and provide the repository URL and even the git-commit of the current version.

@HannesWell HannesWell added the good first issue Good for newcomers label Feb 22, 2025
@HannesWell
Copy link
Member

So if provided we can easily extract and provide the repository URL and even the git-commit of the current version.

I think this task would be simple enough to be a good first issue, but if we want to have it earlier I can also provide an implementation.

@HannesWell
Copy link
Member

Did you ever have a look at Navigate -> Open Discovered Type?

That only works if one has the corresponding bundle in the TP, but that's not always the case.

Ok, I confused it with Open Type. Ed is right and what he suggested does work very well:

Image

An integration with that would be great, but since it's provided from Oomph that's not easy.
Therefore I think my suggestion still would be the simpler approach to achieve something similar (although a direct link to the source-file would not be possible without assumptions).
This would help everyone who doesn't know the mentioned Oomph feature.

@merks
Copy link
Contributor

merks commented Feb 23, 2025

FYI, the index is in textual format here:

https://download.eclipse.org/oomph/git/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants