[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 158246] New: KDevelop should not scan excluded directories when
From: Johannes Jowereit <jowereit () web ! de>
Date: 2008-02-22 22:36:40
Message-ID: 20080222233638.158246.jowereit () web ! de
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=158246
Summary: KDevelop should not scan excluded directories when
rescanning projects
Product: kdevelop
Version: 3.5.1
Platform: SuSE RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs kdevelop org
ReportedBy: jowereit web de
Version: 3.5.1 (using KDE 3.5.7)
Installed from: SuSE RPMs
I have some sub-directories of my (PHP) project directory which I want to exclude \
from the project. For that, I have defined the following in Project Options -> Script \
Project Options:
Include files: *.php,*.css,*.js,*.txt
Exclude the following patterns: \
*~,*/my/project/documents/*,*/my/project/another/subdirectory/*
where "documents" and "another/subdirectory" are the folders I want to exclude. (If I \
omit the trailing asterisk or the trailing slash and asterisk, the directory is not \
excluded at all.)
The exclusion works, however during startup, KDevelop's CPU consumption is at nearly \
100% for half a minute. "strace" shows me that indeed KDevelop scans each and every \
file in the excluded directories, slowing the startup process down significantly.
One solution would be to stop the recursive scanning if a directory matches one of \
the "exclude" patterns. That would be true for all the subdirectories of "documents" \
and "another/subdirectory", but not for the files that are in the directory itself.
So, it would be even better when a whole directory could be excluded by such a \
pattern, e.g.
Exclude the following patterns: \
*~,*/my/project/documents,*/my/project/another/subdirectory
Regards,
Johannes
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic