Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git repository name blank #1947

Open
silladgey opened this issue Mar 16, 2025 · 0 comments
Open

Git repository name blank #1947

silladgey opened this issue Mar 16, 2025 · 0 comments

Comments

@silladgey
Copy link

silladgey commented Mar 16, 2025

Description

I'm experiencing an issue with the Discord Presence extension where:

  1. The Git repository name shows up as blank in Discord
  2. The "View Repository" button is not being displayed in Discord

Environment

  • VS Code Version: 1.98.2 February 2025
  • Discord Presence Extension Version: 5.8.0
  • OS: Windows 11

Settings

I have specifically set discord.removeRemoteRepository to false to ensure the repository button appears.

Here are my relevant settings:

{
    "discord.detailsDebugging": "Debugging {file_name}",
    "discord.detailsEditing": "Editing {file_name}",
    "discord.detailsIdling": "Idling",
    "discord.enabled": true,
    "discord.idleTimeout": 0,
    "discord.largeImage": "Editing a {LANG} file",
    "discord.largeImageIdling": "Idling",
    "discord.lowerDetailsDebugging": "Debugging: {workspace}",
    "discord.lowerDetailsEditing": "Workspace: {git_repo_name}", // <-- affected line
    "discord.lowerDetailsIdling": "Idling",
    "discord.lowerDetailsNoWorkspaceFound": "No workspace",
    "discord.removeDetails": false,
    "discord.removeLowerDetails": false,
    "discord.removeRemoteRepository": false,
    "discord.removeTimestamp": false,
    "discord.smallImage": "{app_name}",
    "discord.suppressNotifications": false,
    "discord.swapBigAndSmallImage": false,
    "discord.workspaceExcludePatterns": [],
}

The Issue

The git_repo_name variable appears to not be populated and the repository button that should appear in Discord is missing.

I've verified that the workspace is actually a Git repository. The repository is properly initialized with Git (can confirm using other Git tools).

Here is a screenshot showing as it appears in Discord:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant