Project Filtering

Andreas Pakulat apaku at gmx.de
Tue Jul 23 07:24:14 BST 2013


Hi,

On Tue, Jul 23, 2013 at 2:25 AM, Milian Wolff <mail at milianw.de> wrote:

> On Tuesday 23 July 2013 02:08:41 Milian Wolff wrote:
> > Hey all,
> >
> > I finally sat down to implement a generic project filter interface and
> user
> > configuration. I've published what I have so far in the projectfilter
> > branch, please take a look.
> >
> > What I want to know now though, is whether my fancy settings dialog I
> wrote
> > years ago for the GenericManager actually is useful. I have the feeling
> that
> > its too complicated, albeit powerful.
> >
> > The reason it's so complicated is that it allows a twofold configuration,
> > i.e. you can configure it to only include certain parts of a folder tree
> > and then furthermore filter in that selection. Back then I wanted to
> > emulate what Quanta offered in KDE3 times.
> >
> > Anyhow, as I said, I think what we have there is too complicated. How
> can we
> > make it simpler? Do we need this two-stage filtering? Is it sufficient to
> > only offer the user a way to exclude stuff?
> >
> > Furthermore, do you think it should be configurable whether to exclude
> VCS
> > folders, object files, moc files, ...? It would easily be possible, but I
> > somehow doubt it's useful?
>
> If others know an IDE where the above is implemented in a sane manner from
> a
> usability pov, please tell us. Screenshots etc. would be awesome.


Not having tried your branch yet, but wanted to note two things:

- the filter should also affect quick open. I just happened to try this
yesterday and for me the project filter  (to filter out *.pyc or stuff in a
build subdir) is useless because quickopen does not care
- the filter should be IMO in addition to the filters that the VCS sets up,
i.e. the VCS-ignored files should be filtered anyway without further user
configuration.

Eclipse does support filtering, but the filters are not user-editable but
rather provided by plugins. Users can then decide which filters to apply.
The individual filters can either be inclusive or exclusive. The filters
(and the workingsets) affect their 'quickopen files' list which is very
handy.

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20130723/afde626a/attachment.html>


More information about the KDevelop mailing list