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

Amish Naidu <amh...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/kde
                   |                            |velop/4f2fc9e32452b3dc7f017
                   |                            |d57c0bcc98b73cb0370
             Status|CONFIRMED                   |RESOLVED

--- Comment #5 from Amish Naidu <amh...@gmail.com> ---
Git commit 4f2fc9e32452b3dc7f017d57c0bcc98b73cb0370 by Amish Naidu.
Committed on 23/10/2018 at 07:54.
Pushed by anaidu into branch 'master'.

Replace leading typed text when completing function implementation

Summary:
When executing function-implementation auto-completion, this will now
replace and leading typed text that matches the proposed completion
instead of duplicating it.

Test Plan:
```
int Foo(int thing);
struct Bar
{
  void Method(int thing);
}
```
Start typing `int Foo` or `Bar::Meth` and then execute the offered completion.

Reviewers: #kdevelop, mwolff

Reviewed By: #kdevelop, mwolff

Subscribers: kfunk, brauch, mwolff, apol, kdevelop-devel

Tags: #kdevelop

Differential Revision: https://phabricator.kde.org/D16326

M  +6    -0    kdevplatform/language/duchain/stringhelpers.cpp
M  +5    -0    kdevplatform/language/duchain/stringhelpers.h
M  +16   -1    plugins/clang/codecompletion/context.cpp
M  +24   -0    plugins/clang/tests/test_codecompletion.cpp

https://commits.kde.org/kdevelop/4f2fc9e32452b3dc7f017d57c0bcc98b73cb0370

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

Reply via email to