Discord Rich Presence for Eclipse IDE
Show the world the projects you're working on!
[![Build Status](https://travis-ci.org/echebbi/eclipse-discord-integration.svg?branch=master)](https://travis-ci.org/echebbi/eclipse-discord-integration) [![Documentation Status](https://readthedocs.org/projects/discord-rich-presence-for-eclipse-ide/badge/?version=latest)](https://discord-rich-presence-for-eclipse-ide.readthedocs.io/en/latest/?badge=latest)
[![Eclipse Marketplace](https://img.shields.io/badge/Eclipse-Marketplace-blue.svg?longCache=true&style=flat&logo=eclipse)](https://marketplace.eclipse.org/content/discord-rich-presence-eclipse-ide)
[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=fr.kazejiyu.discord.rpc.integration%3Afr.kazejiyu.discord.rpc.integration.root&metric=sqale_index)](https://sonarcloud.io/dashboard?id=fr.kazejiyu.discord.rpc.integration%3Afr.kazejiyu.discord.rpc.integration.root) [![codecov](https://codecov.io/gh/echebbi/eclipse-discord-integration/branch/master/graph/badge.svg)](https://codecov.io/gh/echebbi/eclipse-discord-integration)
Discord Rich Presence for Eclipse IDE is a plug-in that uses Rich Presence in order to display information related to your current work in Discord.
Main Features:
Please take a look at the documentation for further information about installation, use and customizations.
Usage
Discord will automatically be notified as soon as the plug-in is installed. The plug-in can be deactivated from the Eclipse's Preferences (Window
> Preferences
> Discord Rich Presence
> Uncheck Activate Rich Presence Integration).
Installation
The plug-in is available in the Eclipse Marketplace.
Drag the following button to your running Eclipse workspace to start the installation:
Or show how to install it manually
1. Open Eclipse IDE
2. Go to *Help > Install New Software...*
3. Copy the update site’s URL in the *Work with* textbox:
- https://echebbi.github.io/eclipse-discord-integration-updates/releases/1.2.2
4. Hit *Enter* and wait for the list to load
5. Check *Discord Rich Presence for Eclipse IDE*
6. Click *Next* then *Finish*
Troubleshooting
Discord does not detect Eclipse IDE as a game
If Discord is not showing anything, ensure that Eclipse IDE is detected as a game:
- Open Discord's
User Settings
- Go the
Games
tab
- Click on the
Add it!
button
- Select Eclipse IDE
A 'Workbench early startup error' occurs since the plug-in is installed
In case you encounter the following error on startup:
An internal error occurred during: "Workbench early startup".
There is an incompatible JNA native library installed on this system
Expected: 5.1.0
Found: 4.0.1
modify the eclipse.ini file (located next to eclipse.exe) to set the jna.nosys
property to true:
-vmargs
-Djna.nosys=true
:information_source: The -vmargs
line should already exist, otherwise you can append it at the end of the file.
Changelog
See CHANGELOG.md.
Contributing
Setup your dev environment
1. Download the latest _[Eclipse IDE for RCP Developers](https://www.eclipse.org/downloads/packages/)_ release
2. Clone the repository `git clone https://github.com/echebbi/eclipse-discord-integration.git`
3. Import all projects in Eclipse IDE
4. Open the `releng/*.target/*.target` file
5. Click on *Set as Target Platform*
6. Wait for the dependencies to be loaded
Technical documentation
Plug-in's architecture is presented in [CONTRIBUTING.md/how-is-the-plug-in-architected](https://github.com/echebbi/eclipse-discord-integration/blob/master/CONTRIBUTING.md#how-is-the-plug-in-architected).
See CONTRIBUTING.md for further details.
License
The Discord Rich Presence for Eclipse IDE plug-in is licensed under the Eclipse Public License 2.0.
It uses different third-party components which are licensed under:
- the Apache Public License 2.0
- java-discord-rpc Copyright (c) 2016 - 2019 Florian Spieß and the java-discord-rpc contributors
- the MIT License (MIT)
Thanks