[Qt-creator] Deteriorating quality of the code completion in Qt Creator

Nikolai Kosjar nikolai.kosjar at digia.com
Mon May 26 14:45:06 CEST 2014


On Mon, 26. May 06:08, Ziller Eike wrote:
> On May 25, 2014, at 7:38 PM, Steve Atkins <steve at blighty.com> wrote:
> > On May 25, 2014, at 10:24 AM, Henry Skoglund <fromqt at tungware.se> wrote:
> > 
> >> Hi,
> >> 
> >> maybe I'm stating the obvious here, but for me I took a while to realize 
> >> that the code completion (and F1 context-sensitive help) in Qt Creator 
> >> works *much better* if the code before, for example the line above the 
> >> current line, consists of syntactically correct C++ code.
> > 
> > (It would be nice to have some way to see parser errors from
> > within Creator, though, rather than having to intuit them from
> > behaviour and env-variable triggered logging).
> 
> Hi,
> we have added Tools > C++ > Inspect C++ Code Model in 3.1.

The most important part here are the include files / paths.

If some includes are not resolved, or resolved to the wrong file,
check in the tab "Project Parts", sub-tab "Include Paths" for the
right paths.

Nikolai




More information about the Qt-creator mailing list