[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kdevelop] [Bug 287492] Qt includes are not offered in #include <QFoo> form
From:       Kevin Funk <kevin () kfunk ! org>
Date:       2014-01-31 13:36:11
Message-ID: bug-287492-17878-IA2HeZPN3W () http ! bugs ! kde ! org/
[Download RAW message or body]

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

Kevin Funk <kevin@kfunk.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |http://commits.kde.org/kdev
                   |                            |elop/30181d739a334f7a3a2b2f
                   |                            |87afbb520db13114fd

--- Comment #11 from Kevin Funk <kevin@kfunk.org> ---
Git commit 30181d739a334f7a3a2b2f87afbb520db13114fd by Kevin Funk.
Committed on 31/01/2014 at 13:13.
Pushed by kfunk into branch 'master'.

Introduce new technique to lookup forward headers

We are now able to propose headers in the missing-include assistant,
which were not parsed before (i.e. that are not in the DUChain).

The procedure is simple: Assume we write something like 'QState',
and qstate.h is not yet included nor parsed, in some file foo.cpp.
KDevelop then checks if there is a file called 'QState' in
any of the include paths required to build foo.cpp and then adds it
to the list of possible include directives.

This is possibly useful in other areas, e.g. for the "Create From
Template" feature, as well.

M  +41   -24   languages/cpp/codecompletion/missingincludeitem.cpp

http://commits.kde.org/kdevelop/30181d739a334f7a3a2b2f87afbb520db13114fd

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic