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

[Bug] Document References in vscode #26

Open
Nils-Schiwek opened this issue Mar 6, 2025 · 1 comment
Open

[Bug] Document References in vscode #26

Nils-Schiwek opened this issue Mar 6, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Nils-Schiwek
Copy link

Nils-Schiwek commented Mar 6, 2025

When I use document references to show references in the chat, like specified here, the references are shown in the VSCode IDE as urls only.

I would like to know:

  1. which icons are available in the display_icon metadata
  2. why is only the url displayed an NOT the display_name ?
    copilot_references: [
        {
            type: "myType",
            id: `docref-${i}`,
                    data: {
                      url: ref.url,
                      title: ref.title,
                    },
                    metadata: {
                      display_name: ref.title,
                      display_icon: "",
                      display_url: ref.url,
                    },
        }
    ],

Expected behavior
When I specify a display_name in the document references metadata I expect the IDE to display this name and not only the url.

Screenshots

Image

@Nils-Schiwek Nils-Schiwek added the bug Something isn't working label Mar 6, 2025
@nhu-do
Copy link
Contributor

nhu-do commented Mar 7, 2025

Hi @Nils-Schiwek thanks for flagging this. I'm opening up an issue in the microsoft/vscode-copilot-release repo, as this issue is related to the IDE functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants