| Artwork | Setting | With an embedded editor icon |
|---|---|---|
| Filled Text | languageText |
languageTextEditor |
| Outline | languageOutline |
languageOutlineEditor |
| Language Logo | languageLogo |
|
| Neon Mono | languageMono |
languageMonoEditor |
| Tech Card | languageCard |
languageCardEditor |
| Pixel Arcade | languagePixel |
languagePixelEditor |
| Paper Fold | languagePaper |
languagePaperEditor |
| Editor Icon | editor |

The TypeScript cards above use languageCardEditor. For compatible modes with a separate badge, cursorDiscord.showSmallEditorIcon lets Discord draw the editor icon beside the large image. languageLogo falls back to Filled Text when a logo is unavailable.
The catalog includes JavaScript, TypeScript, Python, Rust, Go, HTML, CSS, Vue, Svelte, JSX, and TSX. The latest additions are Astro, Elm, GDScript, Gleam, Haxe, MATLAB, Nix, Prisma Schema, Prolog, and Racket. Full language and file extension catalog
Privacy
- Hide names with Discord RPC: Toggle Privacy Mode. The default activity then shows the language and a private workspace label. In custom templates,
{file}and{workspace}become private labels. - Hide sensitive file names automatically. The default patterns cover
.env*,*.pem,*.key,*credentials*, and*secret*. Matching names are replaced with a private label while the workspace can stay visible. - Exclude entire projects by matching a workspace name or full path with
cursorDiscord.disabledWorkspacePatterns. The extension clears the activity when you open a file in a matching workspace. - Pause temporarily from the status bar or with Discord RPC: Pause Presence. Use Resume Presence to start sharing again.
To hide names, exclude workspaces with a client- prefix, and clear your Discord activity after two idle minutes, add these entries to your settings.json.
{
"cursorDiscord.privacyMode": true,
"cursorDiscord.disabledWorkspacePatterns": ["client-*"],
"cursorDiscord.idleTimeout": 120,
"cursorDiscord.idleBehavior": "clear"
}
Settings
Run Discord RPC: Open Settings or search for cursorDiscord in editor settings. Each key below uses the cursorDiscord. prefix in settings.json.
| Setting | Default | Effect |
|---|---|---|
enabled |
true |
Publish Rich Presence. |
language |
"auto" |
Follow the editor display language, or select "en" or "tr". |
largeImageMode |
"languageText" |
Select an artwork mode. |
showSmallEditorIcon |
true |
Show the native Discord editor badge in compatible modes. |
showFileName |
true |
Include the active file name in the default Details text. |
showWorkspace |
true |
Include the workspace name in the default State text. |
showLanguage |
true |
Use language-specific artwork and include the language in the default Privacy Mode Details text. |
showElapsedTime |
true |
Show elapsed editing time. |
privacyMode |
false |
Hide file and workspace names. |
hideSensitiveFiles |
true |
Hide file names that match hiddenFilePatterns. |
hiddenFilePatterns |
Built-in patterns | Match file names using * and ? wildcards. |
disabledWorkspacePatterns |
[] |
Match workspace names or full paths using * and ? wildcards. |
idleTimeout |
300 |
Become idle after this many seconds. Use 0 to disable the idle timer. |
idleBehavior |
"idle" |
Show idle activity with "idle" or remove it with "clear". |
idleMessage |
"" |
Override the localized idle message. |
customDetails |
"" |
Replace the default Details line. |
customState |
"" |
Replace the default State line. |
Custom activity text
Use {file}, {workspace}, {language}, and {app} in the two activity lines. This example pairs Neon Mono artwork with the language and editor name.
{
"cursorDiscord.largeImageMode": "languageMonoEditor",
"cursorDiscord.customDetails": "Working in {language}",
"cursorDiscord.customState": "{app} | {workspace}"
}
Command Palette
Search for Discord RPC to find Show Quick Menu, Open Settings, Pause Presence, Resume Presence, Toggle Privacy Mode, Reconnect, and Disconnect.
Troubleshooting
| Symptom | What to check |
|---|---|
| Discord RPC says disconnected | Open Discord desktop, then run Discord RPC: Reconnect. The extension connects through local Discord IPC. |
| Connected, but the activity is missing | Open a file, resume presence if paused, and check disabledWorkspacePatterns. Check whether Discord is sharing your activity. Discord activity settings |
| Details appear without artwork | Check access to GitHub from the machine running Discord. Discord loads the artwork from public GitHub URLs. Artwork and caching |
| Presence disappears after inactivity | Check idleBehavior and idleTimeout. Editor activity resumes sharing after an idle clear. |
Development
npm ci
npm run build
npm test
npx @vscode/vsce package
The extension uses local Discord IPC on Windows, macOS, and Linux. It runs in the local UI extension host for remote workspaces and uses the active file's owning folder in multi-root workspaces. The language catalog refreshes from GitHub every six hours and falls back to cached or bundled data.
On Windows, run npm run readme:assets to regenerate the two artwork galleries from the catalog images. Run npm run test:taxcode for an isolated TaxCode smoke test covering activation, commands, editor detection, and artwork selection.
Artwork maintenance · Changelog · Issues · Apache License 2.0


