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

Concept of git commit message completer provider plugins

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 4.11.0
    • All

      Recently I started to thinking about if it would be useful to implement the issue/PR/MR completion to VCS (mainly git)  commit message editor. I tend to use "Fixes #123" messages in my commits to trigger github/lab auto close feature, and I always need to lookup the issue number on the web when writing the commit message.

      So I am thinking about adding a similar feature to the QtCreator's commit editor what github/lab provides their online editor: if I start typing a new word starting with # then it will list the issues/PRs in the textcompleter. (The same could be used with the mentions starting with @ but that's just a nice to have feature).

      I imagine these plugins to be added to the QtCreator's settings where the users could enter their credentials and could configure their repo's path (in the case if running self hosted gitlab for e.g.).

      When committing to a git repository which has a remote matching one of the completer plugin's repo path then the completions could be fetched from the provider via their API on the specific edit triggers.

      We could even write a completer plugin for Jira (I just assume that Jira has an API for listing the issue codes/names).

      Please let me know your opinion on this!

       

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

            orgads Orgad Shaneh
            martonmiklos Miklós Márton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes