Why get PHP files reparsed on document-switch?
Milian Wolff
mail at milianw.de
Wed Sep 30 13:46:00 UTC 2009
On Wednesday, 30. September 2009 09:14:58 David Nolden wrote:
> 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.
Ok, we don't have any PHP-specific ParsingEnvironmentFile. Cpp neither, or
only for rpp stuff, right? Well I'll have to investigate thanks so far!
--
Milian Wolff
mail at milianw.de
http://milianw.de
More information about the KDevelop-devel
mailing list