<p>The priority should be ok (isn't there a hint saying what the default priority for auto-parsing is?).</p>
<p>As features, you should use "VisibleDeclarationsAndContexts", what you picked is far too much. You don't need to care about other queued stuff, the background parser does that.</p>
<p>Greetings, David</p>
<p><blockquote type="cite">Am 12.06.2010 21:06 schrieb "Esben Mose Hansen" <<a href="mailto:kde@mosehansen.dk">kde@mosehansen.dk</a>>:<br><br><p><font color="#500050">On Wednesday 09 June 2010 22:23:39 Andreas Pakulat wrote:<br>
> > so having done my initial study, I'm d...</font></p>[...]<br>
<p><font color="#500050"><br>> You can get at all files from a project from IProject::fileSet() and<br>> you get to all projects us...</font></p>Ok, so far so good. My patch watches the files added/removed to the fileSet,<br>

and schedules a reparse whenever these files are changed. There are some<br>
details left in this, but it basically works.<br>
<br>
A few question:<br>
<br>
1. What would be a suitable priority? From reading the docs, 0 seems to high<br>
as I want these jobs to not interfere with the actively edited document, so<br>
I've used "10", for no particular reason other than it is a lower priority.<br>
2. What featureset is appropriate for updating "everything stored" for a file<br>
that was changed externally? I currently use<br>
TopDUContext::AllDeclarationsContextsUsesAndAST .<br>
3. Does backgroundparser check if there is already a queued job for a given<br>
url, or should I do that myself?<br>
<br>
My next item on the list is getting and watching the includes of a file. The<br>
cleanup, and finally I'll submit it to the mercy of the core developers :)<br>
<font color="#888888"><br>
--<br>
Kind regards, Esben<br>
</font><p><font color="#500050"><br>-- <br>KDevelop-devel mailing list<br><a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br><a href="https://barney.cs.uni-potsdam.de/mailma.">https://barney.cs.uni-potsdam.de/mailma.</a>..</font></p>
</blockquote></p>