Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ide-dev] 1-liner "Clone to Eclipse" badge for GitHub repositories

Hi all,

If you have a project under some GitHub repository, you can easily add a "Clone to GitHub" badge that will start the Eclipse IDE and show the Git clone dialog after a few dummy clicks (necessary for security purpose).
See https://github.com/mickaelistria/redirctToEclipseIDECloneCommand for the 1-liner to add to your README files.

As a reminder, this is purely usage of the protocol handlers capabiltiies of Eclipse Platform ( https://help.eclipse.org/2020-12/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Freference%2Fref-linkhandlersprefs.htm ). You can easily add your own protocol handlers for your integrations; the gain on usability is huge as this allow more straightforward workflows.
The only tweak with GitHub is that it doesn't allow other links than http:// and https:// so a redirection service is necessary.

Cheers,
--
Mickael Istria
Eclipse IDE developer, for Red Hat Developers

Back to the top