NOTE
This is still a work in progress for multi platform.
Once this notice is removed it will be ready for at least WIndows and Linux.
This extension integrates Discord Rich Presence with the Lazarus IDE, showing what you're editing in Lazarus on your Discord profile.
- 📂 Displays the currently edited file name.
- 🌐 Detects file extension and shows the corresponding language icon (see
extensions.pas
for supported extensions).
The most up-to-date documentation for Rich Presence can always be found on our developer site! If you're interested in implementing Rich Presence via IPC sockets instead of using our SDK, check out the "Hard Mode" documentation.
First, head over to the Discord developers site and create an app. Keep track of your Client ID
—you'll need it to pass to the initialization function.
Download and extract to a folder of your choice.
✈ Where is it once installed?
/discord-rpc/windows
- Contains Discord RPC.dll
files foe Windows./discord-rpc/linux
- Contains Discord RPC.so
files for Linux./discord-rpc/darwin
- Contains Discord RPC.so
files formacOS
./src/package
- Plugin for the IDE./src/source
- Abstraction to call dynamic libraries inDiscordRPC.pas
./bin
- Output for the various binaries, once compiled.
External source for Discord RPC: discord-rpc.
To submit a pull request, follow these steps:
- 🍴 Fork the project.
- 🌿 Create a new branch (
git checkout -b my-new-feature
). - 🛠️ Make your changes.
- 💾 Commit your changes (
git commit -am 'Add new feature or fix bug'
). - 📤 Push the branch (
git push origin my-new-feature
). - 🔄 Open a pull request.
Give us a Star.