Bug 369403 - No Autocomplete for calls to qt connect()
Summary: No Autocomplete for calls to qt connect()
Status: CONFIRMED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (Clang-based) (other bugs)
Version First Reported In: 5.0.1
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-26 21:23 UTC by Ian H
Modified: 2017-11-05 14:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian H 2016-09-26 21:23:22 UTC
In KDevelop 4.7.3, when typing out a connect for signals/slots in qt, i would get an autocomplete for everything inside of the call, including inside of SIGNAL() and SLOT(). This does not seem to happen in 5.0.1. it seems to not understand what i'm looking for inside of the SIGNAL/SLOT macros.

Reproducible: Always

Steps to Reproduce:
1. Create a qobject with signals/slots: 
signals: 
void testSignal(double);
slots:
void testSlot(double);
2. type 'connect(this,SIGNAL()'
3.begin typing into the parenthesis in SIGNAL() 'test' 

Actual Results:  
It will only prompt for text completion, not context completion

Expected Results:  
should prompt testSignal(double), and then on the slot, it should prompt testSlot(double), like it did in 4.7.
Comment 1 Sven Brauch 2016-10-01 18:34:11 UTC
Yes, that is a missing feature in 5.0. The rationale is that the new-style signal/slot syntax which exists since Qt 5.0 is preferrable in almost all cases over the old macro-style connect(), and the new style is supported just fine.

But yes, missing feature.