This is a simple VSCode extension that updates your discord rich presence (activity) based on what you are doing in VSCode
- Show the current file you are editing
- Display an icon depending on the file type you are editing
- Show the workspace you opened
- Configure certain workspaces to be hidden
Download the .vsix file from the latest release. Now open VSCode, go to extensions, click the three dots at the top and press "Install from VSIX...", you'll get an explorer window where you have to select the downloaded .vsix file and that's it.
This extension is highly personalized towards my needs and was not designed with the general public in mind. If you still wish to use this extension as is, feel free to do so. Otherwise feel free to change the code to your needs and compile your own version. Be aware that discord is weird and does not show the button for opening the github repository in browser on your own profile, even though others can see it. So don't worry, it's likely not broken. Try it with a friend or an alt account.
If you'd like to build this extension yourself from source, follow these instructions:
- Clone the source code:
git clone https://github.com/LokiLeiche/Loki_DRP.git - Go to the cloned directory:
cd Loki_DRP - Install dependencies:
npm ci - Compile and package everything:
npm run package - Install the extension from the newly generated .vsix file like mentioned in the install instructions
If you want to do dev work on this extension, simply go to the Run and Debug tab in VSCode and press Run Extension. This will open a new VSCode window with the extension enabled without manually installing the new .vsix file. I recommend disabling the extension in your main vscode window during testing, so the RPC requests don't collide and overwrite eachother.
