A Visual Studio Code extension that displays your coding activity on Discord with rich presence.
- Real-time status updates: shows your current file and workspace
- Session tracking: displays how long you've been coding
- Activity detection: typing, debugging, testing, and more
- Customizable: configure what information to display
- Rich presence: icons, buttons, and detailed status
- Auto-reconnect: handles connection issues automatically
- Install the extension from the VS Code Marketplace
- Make sure Discord is running
- Enter your Discord Application Client ID in settings
- Enable the extension
In VS Code settings, search for “Discord RPC”:
| Setting | Description | Default |
|---|---|---|
| Enable/Disable | Turn the extension on or off | true |
| Show File Name | Display current file in Discord status | true |
| Show Workspace | Display workspace name in Discord status | true |
| Show Session Time | Show coding session duration | true |
| Show Activity | Show current activity (typing, debugging) | true |
| Client ID | Your Discord Application Client ID | "" |
| Update Interval | How often to update (minimum 15 seconds) | 15000 |
- Go to the Discord Developer Portal
- Create a new application
- Name it (e.g., “VS Code”)
- Copy the Application ID
- Paste it into the extension settings as the Client ID
Discord RPC: Enable– Enable the extensionDiscord RPC: Disable– Disable the extensionDiscord RPC: Toggle– Toggle it on or off
The extension shows connection status in the VS Code status bar:
- Connected: RPC is active
- Disconnected: RPC is disabled or not connected
Extension not connecting
- Make sure Discord is running
- Verify the Client ID
- Restart VS Code and Discord
Status not updating
- Check the update interval setting (minimum 15 seconds)
- Make sure the extension is enabled
- Try disabling and re-enabling
Connection issues
- The extension retries with different methods
- Ensure Discord is up to date
- Clone the repository
- Run
npm install - Open in VS Code
- Press F5 to start the extension in a new window
- Make and test changes