https://bugs.kde.org/show_bug.cgi?id=376461

--- Comment #1 from Milian Wolff <m...@milianw.de> ---
Git commit fcba3835397bf1c830e56a0c7487c5c1ac329b40 by Milian Wolff.
Committed on 20/02/2017 at 23:01.
Pushed by mwolff into branch 'master'.

Improve code completion of paths with dashes in their name

The model simply aborted code completion too soon, as it thought
that the dash stops a word. But when we do include-path completion
we actually want to not do that.

This patch implements that by reusing our existing include path
parser and then overwrites the corresponding model functions.

Note that the code completion box still "hides" after writing the
first "-", which I have not yet figured out why. Manual code
completion works in this case now, though. In general, this patch
improves quite a few things already so I'm pushing this early.

M  +6    -21   languages/clang/codecompletion/includepathcompletioncontext.cpp
M  +18   -0    languages/clang/codecompletion/includepathcompletioncontext.h
M  +32   -15   languages/clang/codecompletion/model.cpp
M  +4    -0    languages/clang/codecompletion/model.h
M  +14   -1    languages/clang/tests/test_codecompletion.cpp

https://commits.kde.org/kdevelop/fcba3835397bf1c830e56a0c7487c5c1ac329b40

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to