Review Request 115226: quickopen abbreviation matching

Milian Wolff mail at milianw.de
Wed Jan 22 15:49:44 UTC 2014


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



language/interfaces/abbreviations.h
<https://git.reviewboard.kde.org/r/115226/#comment34015>

    don't inline these functions, put open-brace on newline



language/interfaces/abbreviations.h
<https://git.reviewboard.kde.org/r/115226/#comment34017>

    use enum for return value



language/interfaces/abbreviations.h
<https://git.reviewboard.kde.org/r/115226/#comment34018>

    apidox



language/interfaces/quickopenfilter.h
<https://git.reviewboard.kde.org/r/115226/#comment34010>

    .last().chop(1)



language/interfaces/quickopenfilter.h
<https://git.reviewboard.kde.org/r/115226/#comment34011>

    above: use SkipEmptyParts



plugins/projectfilter/tests/test_projectfilter.cpp
<https://git.reviewboard.kde.org/r/115226/#comment34012>

    unrelated changes in this file :)



plugins/quickopen/projectitemquickopen.cpp
<https://git.reviewboard.kde.org/r/115226/#comment34013>

    !foo.isEmpty() instead of > 0



plugins/quickopen/tests/quickopentest.cpp
<https://git.reviewboard.kde.org/r/115226/#comment34014>

    undo
    


- Milian Wolff


On Jan. 22, 2014, 2:39 p.m., Sven Brauch wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115226/
> -----------------------------------------------------------
> 
> (Updated Jan. 22, 2014, 2:39 p.m.)
> 
> 
> 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
> -----
> 
>   language/CMakeLists.txt d5f29c1 
>   language/interfaces/abbreviations.h PRE-CREATION 
>   language/interfaces/quickopenfilter.h cd3afa9 
>   plugins/projectfilter/tests/test_projectfilter.cpp 21c6675 
>   plugins/quickopen/projectitemquickopen.cpp 8be9dd8 
>   plugins/quickopen/tests/quickopentest.h eff5b93 
>   plugins/quickopen/tests/quickopentest.cpp 3827237 
>   plugins/quickopen/tests/quickopentestbase.h 1205379 
> 
> 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/20140122/e10e4965/attachment.html>


More information about the KDevelop-devel mailing list