On Monday 31 July 2006 09:09, Andreas Pakulat wrote: > On 31.07.06 08:47:33, Ian Reinhart Geiser wrote: > > On Sunday 30 July 2006 17:05, Andreas Pakulat wrote: > > > On 30.07.06 15:39:30, Ian Reinhart Geiser wrote: [...] > > Even if I could not edit them via the GUI though, just > > having them parsed for SOURCE, HEADERS and UI files would be a big win. > > There's a comment inside the trollprojecwidget about pri-parsing, > however no code and currently I'm rather reluctant about changing that. > I'd much more like to work on integrating the AST from the qmake parser, > which would simplify this a lot. Hrm, I hope I didn't add that comment :P Yeah going the AST route is an infinitely better solution. From what I remember the AST will be what is used in KDevelop 4 (I am assuming you are working in KDevelop 3.4 right now, correct?) so this is the best way to go. I harbor a secret hatred for the regexp parser, even though I helped keep it around this long :) > > The big problem is if we don't then KDevelop never knows about those > > files, and they wont appear in the class view. > > Yeah, the automake manager has similar "problems" with conditional > sub-projects, i.e. the list of directories is "calculated" at configure > time and thus the automake manager doesn't show any classes inside those > directories in the class view. > > Let's see how far I get in the next couple of days... If there is any stupid stuff I can do to help let me know. I have a few examples that currently piss off KDevelop and MSVC :) I also have a few senarios with project scopes that confuse our current parser. I attempted to add edit support for scopes, but I think the regexp parser, along with the old "ill randomly reorder lines when I dump the .pro file" feature made it very confusing to me. Cheers -ian reinhart geiser _______________________________________________ KDevelop-devel mailing list KDevelop-devel@barney.cs.uni-potsdam.de http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel