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

Customer feedback: Document references in VSCode #6189

Open
nhu-do opened this issue Mar 7, 2025 · 0 comments
Open

Customer feedback: Document references in VSCode #6189

nhu-do opened this issue Mar 7, 2025 · 0 comments
Assignees
Labels
triage-needed Issues needing to be assigned to the prospective feature owner

Comments

@nhu-do
Copy link

nhu-do commented Mar 7, 2025

Original issue: copilot-extensions/user-feedback#26


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:

which icons are available in the display_icon metadata
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
Screenshot 2025-03-07 at 9 58 06 AM

cc: @Nils-Schiwek

@vs-code-engineering vs-code-engineering bot added the triage-needed Issues needing to be assigned to the prospective feature owner label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage-needed Issues needing to be assigned to the prospective feature owner
Projects
None yet
Development

No branches or pull requests

2 participants