镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.
This repository was archived by the owner on May 20, 2026. It is now read-only.

Clicking provider-links does not work in VSCode #46

Open

Description

@Logonz

I understand that this is very much a VIP and experimental but wanted to report that a simple provider-links does not work when clicking in the editor. Using the icon at the top of the screen to show all matches in a dropdown works however.

        {
          "title": "🐘 $<table> table (PostgreSQL console)",
          "url": "https://example.com/postgresql?table=$<table|queryEscape>",
          "description": "View table schema and data...",
          "path": "**",
          "pattern": "(FROM|UPDATE|INSERT INTO|DELETE FROM|ALTER TABLE) (?<table>\\w+)"
        },

The example you provided works to show it in the editor but clicking it produces nothing from what i can see.

Activity

  1. sqs commented on May 24, 2024

    @sqs
    Contributor

    Clicking it should take you to the example.com URL. Is it that clicking it did not take you there, or that it's confusing because an example.com URL is not actually a helpful link for that? If the latter, then that should be resolved when we add some more non-example providers. We've got a bunch more in progress in the last few weeks and will soon be able to show off exclusively providers that are actually useful.

  2. keegancsmith commented on May 24, 2024

    @keegancsmith
    Member

    @sqs this is probably the vscode-uri not correctly handling URL query escaping rearing its head.

  3. Logonz commented on Jun 5, 2024

    @Logonz
    Author

    With the new version this seems to be fixed for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions