- 
    
Suggestion
 - 
    Resolution: Fixed
 - 
    
P3: Somewhat important
 - 
    None
 - 
    None
 
- 
        d851db61c (master)
 
When writing code that contains a not yet included class you can perform a quick fix on this class to add the respective include.
The includes seem to get inserted based on some alphabetical order logic - but this might break some basic rule of thumb.
Assume class A - defined inside a.h and a.cpp
Now write class B (b.h and b.cpp) and use class A without including it. Now perform the quick fix on the used class A to include a.h. The new include will be inserted before the include of b.h.
| For Gerrit Dashboard: QTCREATORBUG-21826 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 512020,4 | CppEditor: Special handling for included header corresponding to source | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |