Bug 334775 - Hide .pyc, .pyo, .pyd and __pycache__ files in project
Summary: Hide .pyc, .pyo, .pyd and __pycache__ files in project
Status: RESOLVED FIXED
Alias: None
Product: kdev-python
Classification: Developer tools
Component: Language support (show other bugs)
Version: 1.5.2
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Sven Brauch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-14 16:55 UTC by Todd
Modified: 2014-05-31 17:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todd 2014-05-14 16:55:24 UTC
Current, KDevelop hides compiled files for languages like C and C++, such as .o files.  However, it does not hide bytecode for python files (*.pyc and *.pyo files), python dlls (*.pyd), and central directories storing such files (__pycache__).

It would be nice if KDevelop hid these files as well, since they are all binary files that cannot be accessed within KDevelop.

Reproducible: Always

Steps to Reproduce:
1. Load a python project
2. Execute one of the files in the project.
3. Look at the project file tree.
Actual Results:  
You see a *.pyc file, *.pyo file, or __pycache__ directory, depending on how you ran the file, what version of python you are using, and how you or your distro configured python.

Expected Results:  
The directory tree is unchanged.
Comment 1 Sven Brauch 2014-05-14 20:56:09 UTC
You can right-click a project and select Open Configuration, then under Project Filter you can configure filters as you like. If you use git, the files in .gitignore should be there automatically if I remember correctly.

If this doesn't solve your issue, feel free to re-open the bug.

Greetings!
Comment 2 Todd 2014-05-15 09:29:45 UTC
Yes, you can manually configure it.  I think it is good to have it as default.  Is there any reason they shouldn't be hidden by default when most other compiled files are?

Also, no, having these in .gitignore does not hide them.
Comment 3 Sven Brauch 2014-05-15 13:46:55 UTC
Ah, ok. No, there's no reason, I'll see that I can add them to the default ignore list.
Comment 4 Sven Brauch 2014-05-31 17:05:09 UTC
Should be fixed in latest kdevelop master.