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

Auto completion does not automatically select nearest result

    XMLWordPrintable

Details

    • Windows
    • 7d64afa73 (master)

    Description

      The autocompletion system provides the user with a sorted list of completion suggestion, and the first item is selected by default, so when typing code quickly, "enter" auto-completes with the first item of the list.

      In latest QC, there is something wrong with either the sorting of that list, or the selection of the first item. I am pretty sure it is a regression.

      Exemple : 

      QList<int> list;
      const auto endOfTheList(list.end

      This code should autocomplete with "end()". Instead, it completes with cend().
      This makes writing code very annoying.

      I don't know what is the distance used for words matching but it seems broken. 

      When can we expect this to be fixed ?

      Regards 

      Attachments

        1. image-2023-05-17-15-12-17-485.png
          20 kB
          Adrien Grosjean
        2. completion.png
          105 kB
          Christian Kandeler
        3. image-2023-05-22-11-32-38-474.png
          25 kB
          Adrien Grosjean
        4. image-2023-05-22-11-34-30-641.png
          26 kB
          Adrien Grosjean
        5. auto_complete_bug.txt
          343 kB
          Adrien Grosjean
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            karpi Adrien Grosjean
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes