Bug 119190 - c++ function recognition won't work on newly created projects unless project closed and reopened
Summary: c++ function recognition won't work on newly created projects unless project ...
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: 3.1.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-29 17:41 UTC by Imre Péntek
Modified: 2006-12-30 04:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Imre Péntek 2005-12-29 17:41:19 UTC
Version:           3.1.2 (using KDE KDE 3.5.0)
Installed from:    Unlisted Binary Package
Compiler:          gcc version 3.3.4 Configured with: /var/uhubuild/work/compile/configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,objc,java,f77,pascal --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --host=i586-uhu-linux; Thread model: posix
OS:                Linux

I create a new project, and function select dropdown list doesn't contain any entry, even with fully compilable cource code. After closing and repoening project it works greatly.
Comment 1 Amilcar do Carmo Lucas 2005-12-29 17:53:00 UTC
Please retest with KDevelop 3.3.0
Comment 2 Imre Péntek 2005-12-29 18:08:12 UTC
Will do so if my distro includes this version.
Comment 3 Amilcar do Carmo Lucas 2005-12-29 18:26:39 UTC
Well we fixed 435 bugs since the release of KDevelop 3.1.2
You may want to compile KDevelop to get rid of them. It takes 40 minutes to compile.
Comment 4 Imre Péntek 2005-12-29 22:06:48 UTC
I tried to compile, but somehow ./configure failed.
Comment 5 Imre Péntek 2006-03-10 22:50:25 UTC
Still present in kdevelop 3.3.1
Comment 6 Jens Dagerbo 2006-12-17 00:27:44 UTC
Still in SVN. But just switch file and back again and it works. 

The problem: When creating a project, the new files are opened before the project is loaded, so the cpp plugin isn't told about the active file and thus it's never parsed.
Comment 7 Jens Dagerbo 2006-12-30 04:40:00 UTC
Alexander fixed this recently on 3.4 branch.