Project Filtering

Andreas Pakulat apaku at gmx.de
Thu Jul 25 15:17:12 UTC 2013


Hi,

On Thu, Jul 25, 2013 at 4:47 PM, Milian Wolff <mail at milianw.de> wrote:

> On Thursday 25 July 2013 14:44:10 Andreas Pakulat wrote:
> > Hi.
> >
> > On Thu, Jul 25, 2013 at 8:26 AM, Andreas Pakulat <apaku at gmx.de> wrote:
> > > Unfortunately I didn't get around testing the branch yesterday, maybe I
> > > can do that sometime during the day today.
> >
> > Hmm, "doesn't work" ;) I've just checked out the projectfilter branch in
> > kdevplatform and kdevelop and rebuilt+reinstalled both. I see the new KCM
> > (kinda odd with a generic project manager project) and can add stuff
> there,
> > but it does not seem to filter quickopen or the project tree...
>
> What project manager did you use? If cmake, then yes, its not implemented
> there. If anything else, it should work (and did for me last time I
> checked?).
>

Generic File Manager for a Python project, I added *.pyc to the excludes
but the project tree still shows the pyc files. Haven't tried closing and
re-opening the project, but can try that later.


> > I think the UI is ok as it is for now, its not overly pretty but hey this
> > is a boring IDE not  plasma active ;)
> >
> > One thing thats not completely clear from the UI is wether excludes
> > overrule includes or vice versa. (my gut feeling would be that includes
> > should always override excludes, but maybe the implementation disagrees
> > with me?)
>
> Only stuff that is matched by any include rule and _not_ matched by any
> exclude rule should be shown. That's how it is right now. That way you
> could
> e.g. include "*.cpp" and "*.h" and then filter out "build/*" to exclude
> generated files.


I think that is the same logic I noted, just in different words. So for
example if I exclude *.cpp but add foo.cpp to the includes I'll still see
foo.cpp.

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130725/6d10fa28/attachment.html>


More information about the KDevelop-devel mailing list