Why get PHP files reparsed on document-switch?
David Nolden
zwabel at googlemail.com
Wed Sep 30 07:14:58 UTC 2009
Am Freitag 25 September 2009 16:42:59 schrieb Milian Wolff:
> Hey there!
>
> Someone got an idea why PHP files get reparsed when I switch to a different
> document? Looks like we do something essentially wrong... Cpp files don't
> show that behaviour!
Either KDevelop::BackgroundParser or KDevelop::DUChain check on each document-
switch whether the file and all its dependencies are still up to date, and if
not, reparses it.
That check is done using ParsingEnvironmentFile::needsUpdate.
Greetings, David
More information about the KDevelop-devel
mailing list