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

CppLocatorFilter should support CamelHump searching

    XMLWordPrintable

Details

    • Task
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • None
    • C/C++/Obj-C++ Support
    • None

    Description

      Currently a developer that uses CppLocatorFilter needs to enter a substring of searched class-name. This is not convenient especially when there are many classes with the same prefix/suffix.
      Instead, we can provide CamelHump search. It searches/filters items based on the prefixes of each humps.

      For example have the following list of items:
      FirstBuildStep, FirstRunStep, SecondBuildStep
      With current searching, you need to type 'FirstBuild' or 'tB' to match exactly one class name.
      With new approach, you can just type the capital letters 'FBS' or 'FiBuS'.
      Current approach works with good and better entries. The CamelHump search claims the entries that are matching the specified humps from the beginning as the better entries. Entries that are skipping some humps are considered as good entries.

      This feature allows quick searching for class names (or symbol names in general) with fewer letter typed.

      CamelHump searching should be disabled by default. A new "Use Camel Hump Matching" checkbox should be added in the config dialog for CppLocatorFilter.

      Attachments

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              dkaspar David Kaspar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes