Change wording

Motivation

By default, the plug-in uses the following sentences: Editing <file name> and Working on <project>:

Example of a Rich Presence showing a Java icon

Provide custom templates

However, they may not fit your needs. Hopefully you can specify your own sentences from the preferences page:

  1. Click on Window > Preference
  2. Select Discord Rich Presence > Wording
  3. The following page should open:
The Preferences dialog with the 'Discord Wording' page opened
  1. Check Use custom wording
  2. Fill the Details and State fields with your own templates

Tip

In Discord, Details is the top text and State the bottom text. See also Discord’s Rich Presence documentation.

The following variables can be used in the templates:

Variable Replaced by
${file} the name of the file with its extension
${file.baseName} the name of the file without its extension
${file.extension} the extension of the file
${language} the name of the programming language
${project} the name of the project

The wording can also be customize per project:

  1. Right-click on a project > Properties
  2. Select Discord Rich Presence > Wording