ahmadsamir added a comment.
FWIW, the combined effect of this patch and D22477 <https://phabricator.kde.org/D22477>, hopefully you'll no longer see the Q_RETRUN_ARG and co. completions unless the menu is manually invoked with the mode set to C++. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D22500 To: ahmadsamir, #ktexteditor, #kdevelop, cullmann, dhaumann, brauch Cc: kde-frameworks-devel, kwrite-devel, LeGast00n, sbergeron, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann