Review Request 115226: quickopen abbreviation matching

Sven Brauch svenbrauch at googlemail.com
Fri Jan 24 14:13:40 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115226/
-----------------------------------------------------------

(Updated Jan. 24, 2014, 2:13 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDevelop and Vishesh Handa.


Repository: kdevplatform


Description
-------

Adds abbreviation matching for quickopen, similar to what the completion does now.

For duchain items, you can do component-wise abbrev matching with the same algorithm like in kate.
For example, py::pyccwor matches "Python::PythonCodeCompletionWorker", kdev::cccont matches "KDevelop::CodeCompletionContext", etc.

For project items, you can type any set of characters from the path of the item. So, btbrowser/cml matches addons/kate/backtracebrowser/CMakeLists.txt. The idea is that often you can abbreviate path names but they seldomly contain capital letters, so it doesn't make much sense to restrict it to capital letters.

I'm not sure this is the perfect way to do it, feedback is welcome.


Diffs
-----

  plugins/quickopen/tests/quickopentestbase.h 1205379 
  language/CMakeLists.txt d5f29c1 
  language/interfaces/abbreviations.h PRE-CREATION 
  language/interfaces/quickopenfilter.h cd3afa9 
  plugins/quickopen/projectitemquickopen.cpp 8be9dd8 
  plugins/quickopen/tests/quickopentest.h eff5b93 
  plugins/quickopen/tests/quickopentest.cpp 3827237 

Diff: https://git.reviewboard.kde.org/r/115226/diff/


Testing
-------


Thanks,

Sven Brauch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20140124/b72599d6/attachment.html>


More information about the KDevelop-devel mailing list