Discord RPC Extension
A Confidant-themed VS Code extension that turns your active workspace, file, programming language, and coding session into a customizable Discord Rich Presence.
- Role
- Creator & Extension Developer
- Team
- Solo Dev
- Stack
- TypeScript · VS Code Extension API · @xhayper/discord-rpc
Dly’s Extension RPC began as a way to make coding presence feel personal instead of displaying the same generic editor status. I wanted Discord Rich Presence to reflect both what I was working on and the Persona-inspired visual identity I enjoy.
The extension connects Visual Studio Code to Discord Desktop through local RPC. It can display the active project, current file, detected programming language, and optional elapsed session time. The presence updates automatically whenever the editor context changes.
Rather than relying only on a folder name, the extension identifies projects through their Git remote when available and falls back to the current workspace. This keeps project names and icons consistent across different local copies. Each workspace can also have its own icon override, presence text, and display preferences.
The extension includes 23 deterministic Rich Presence assets inspired by Persona’s Confidant style, along with multi-root workspace support, automatic Discord reconnection, live configuration updates, and controls accessible from the VS Code status bar.
Building it involved connecting editor events with Discord’s local RPC system while keeping the extension stable enough to run quietly throughout an entire coding session.
