Bug 387246 - Add support for .gitignore like project treeview items exclusion.
Summary: Add support for .gitignore like project treeview items exclusion.
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: UI: general (show other bugs)
Version: 5.2.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-24 06:48 UTC by Venca B Spam
Modified: 2017-11-24 08:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Venca B Spam 2017-11-24 06:48:54 UTC
This is feature request.

Add support for .gitignore like project treeview items exclusion.

Although I know there is possibility to exclude items from the project tree view, I see it as a bit not practical for even a bit larger projects (I can provide examples on demand) as it require too much attention from the user.

First I was thinking to ask to support .gitignore itself, but this does not have the same business requirement base.

What about to have the same syntax as .gitignore (easy to parse and interpret) and just add these patterns to already existing project exclusion list of items.

Minimal use case:
- User will create .kdevignore and will populate it by its own patterns
- User will open/import CMake project and the files will be automatically ignored.
- User still can add new excluded items which will be stored the same way as today (in the project file).

By the way, as I am new to KDE, is there any other more suitable place to discuss feature requests, ideas?
(I did try KDE forum but it looks a bit less crowded.)
Comment 1 Francis Herne 2017-11-24 08:54:46 UTC
Currently this information is stored in projectdir/.kdev4/projectname.kdev4, in this format:

[Filters][29]
inclusive=0
pattern=*.pyc
targets=1

('targets' is 1 for files, 2 for folders, 3 for both).

I can see why a .gitignore-compatible format would be useful.
-------

The IRC channel (#kdevelop on Freenode) is a good place to discuss things, whether a feature would make sense or if something similar exists, but there's no long-term log.

This is the right place to make a feature request when you're sure about what to ask for and don't want it to be forgotten, but please use severity "wishlist".