From kdevelop-bugs Mon Jul 26 21:08:12 2010 From: Alexander Date: Mon, 26 Jul 2010 21:08:12 +0000 To: kdevelop-bugs Subject: [Bug 245840] New: Sometimes PHP files won't recognize classes from Message-Id: X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=128017856114683 https://bugs.kde.org/show_bug.cgi?id=245840 Summary: Sometimes PHP files won't recognize classes from other files Product: kdevelop Version: SVN Platform: Compiled Sources OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Language Support: PHP AssignedTo: kdevelop-bugs@kdevelop.org ReportedBy: ashaduri@gmail.com Version: SVN (using KDE 4.4.3) OS: Linux I'm using KDevelop/KDevplatform/php/php-docs from git master. This problem is somewhat hard to describe, but it's been there in php support since its first days. Note that C++ doesn't have this problem. It happens when I open a large PHP project (with many subdirectories, if that matters) with some of the files being automatically opened. For example, the project has a file "a.php" open, which uses class C from "c.php". When opening the project and a.php automatically opens in the editor (with previously clean ~/.kdevduchain), any use of class C inside a.php has brown squiggles under it. It's as if the parsing was performed in one direction and a.php can't see what's been parsed after it. Reopening a.php doesn't help, opening / closing KDevelop doesn't help. The only thing that helps is pressing F5 while a.php is open. Note that this happens only when a.php is automatically opened while the project is loading. If it's not, class C is visible in it and everything's OK. Thanks Reproducible: Sometimes openSUSE 11.1 x86_64 -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs