leonardssh / vscord

😎 Fully customizable VS Code extension to get Discord Rich Presence integration.
https://marketplace.visualstudio.com/items?itemName=LeonardSSH.vscord
MIT License
478 stars 95 forks source link
customizable discord discord-rich-presence discord-rpc discord-vscode presence rich rich-presence rpc visual-studio visual-studio-code vscode vscode-extension
[VSCord Logo][vsmp-link]
[![Visual Studio Marketplace Version][shield-vsmp-version]][vsmp-link] [![Visual Studio Marketplace Downloads][shield-vsmp-downloads]][vsmp-link] [![Visual Studio Marketplace Installs][shield-vsmp-installs]][vsmp-link] [![Visual Studio Marketplace Rating][shield-vsmp-rating]][vsmp-link] [![Open VSX Version][shield-ovsx-version]][ovsx-link] [![Open VSX Downloads][shield-ovsx-downloads]][ovsx-link] [![Open VSX Rating][shield-ovsx-rating]][ovsx-link] [![Continuous Integration][shield-workflows-ci]][github-workflows-ci] [![Gitter Support Chat][shield-gitter-support]][gitter-vscord-support] [![Continuous Delivery][shield-workflows-cd]][github-workflows-cd]


VSCord

Highly customizable Discord Rich Presence extension for Visual Studio Code

Remember to 🌟 this GitHub if you 💖 it.

Disclaimer

This extension does not work with snapstore / flatpak version of VSCode, please use the official version from the VSCode website!

📌 Features

👀 Preview

1 2 3

📥 Installation

Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.

ext install LeonardSSH.vscord

OR

Use the Extension Marketplace

a4

⚙️ Configuration

The following variables will be replaced with the respective value in custom strings.

Variable Value
{app_name} current editor name
{app_id} editor name that's suitable for using inside url
{file_name} name of the file
{file_extension} extension of the file
{file_size} size of the file
{folder_and_file} folder and file name
{relative_file_path} filepath relative to the workspace folder
{directory_name} directory name
{full_directory_name} full directory name
{workspace} name of the workspace
{workspace_folder} name of the workspace folder
{workspace_and_folder} name of the workspace and folder
{lang} | {Lang} | {LANG} format of the lang string (css, Css, CSS)
{problems} problems text defined in settings
{problems_count} number of problems
{problems_count_errors} number of problems that are errors
{problems_count_warnings} number of problems that are warnings
{problems_count_infos} number of problems that are infos
{problems_count_hints} number of problems that are hints
{line_count} number of lines
{current_line} current line
{current_column} current column
{git_url} link to current git repository
{git_owner} current git repository owner
{git_provider} domain (including .com) to the provider of current git repository
{git_repo} repository name for current repository
{git_branch} current git branch
{empty} an empty space

👨‍💻 Contributing

To contribute to this repository, feel free to create a new fork of the repository and submit a pull request.

  1. Fork / Clone the main branch.
  2. Create a new branch in your fork.
  3. Make your changes.
  4. Commit your changes and push them.
  5. Submit a Pull Request here!

👨‍💻 Adding a new language

We have a guide for adding a new language here!

🎉 Thanks

Much of the code in this repository is based on iCrawl/discord-vscode & Satoqz/vscode-discord. This extension would not exist without them.

📋 License

This project is licensed under the MIT License - see the LICENSE file for details.