Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-33220

Make GitHub Copilot Login URL Configurable in Qt Creator Plugin

XMLWordPrintable

    • All
    • 1c38b279e (master), 936112d09 (master)

      The current implementation of the GitHub Copilot plugin in Qt Creator redirects users to the default public GitHub login page (https://github.com/login). There is no option to configure the login URL to support GitHub Enterprise environments

      In comparison, the Neovim Copilot plugin allows setting a custom Copilot login endpoint and proxy through configuration variables:

      vim.g.copilot_enterprise_uri = 'https://xxxxx.ghe.com'
      vim.g.copilot_proxy = 'http://yyyyyy'

      Adding similar configurability in the Qt Creator plugin would enable broader enterprise adoption and compatibility with self-hosted GitHub instances.

      Workaround:

      Functionality can currently be achieved by manually modifying the file:

      ~/.config/nvim/pack/github/start/copilot.vim/copilot-language-server/dist/main.js

      Suggestion: Introduce configuration support in the Qt Creator Copilot plugin to specify: A custom Copilot login URL (e.g., GitHub Enterprise) Optional proxy settings These could be exposed via a configuration file, environment variables, or Qt Creator’s settings interface, similar to the approach used in Neovim.

      Rationale: This feature would improve compatibility with enterprise development environments and provide a cleaner, more maintainable alternative to manual modifications.

       

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            madwinter Marcus Tillmanns
            chakib Chakib Boutaghane
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes