Created attachment 108048 [details] code completion proposition see the attached screenshots. Implementing requested changes in D7995 I noticed that m_watcher->add|(info.absoluteFilePath()) (the pipe character represents the text cursor) expanded to the following after using code completion: m_watcher->addDir(;info.absoluteFilePath())
Created attachment 108049 [details] after accepting the 1st proposition
Yes, my bad, I wanted to fix this for ages ... certainly before 5.2
Any chance this is related to the situation where you start to add "classname::" in front of a function name, you use completion and find the function name has been eaten? I don't know if that's easily avoidable but it's an annoyance I run into much more often (I'd never seen this glitch before).
It's not related, this feature adds a ; behind a function call to a void function but fails not to do so when the rest of the line is not empty.
Git commit fe4d43887c3ff1ea4d06c5c76b2a95612557ae20 by Sven Brauch. Committed on 28/09/2017 at 10:06. Pushed by brauch into branch '5.2'. fix inserting ; when calling a void function in a non-empty line M +4 -2 plugins/clang/codecompletion/context.cpp https://commits.kde.org/kdevelop/fe4d43887c3ff1ea4d06c5c76b2a95612557ae20