Skip to content

[Bug] Document References in vscode #26

Open
@Nils-Schiwek

Description

@Nils-Schiwek

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions