Details
-
Task
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
None
-
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
- duplicates
-
QTCREATORBUG-3111 "Fuzzy" search for Locate
- Closed