| Summary: | Kate project plugin doesn't show any files | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Johannes <private> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | waqar.17a |
| Priority: | NOR | ||
| Version First Reported In: | 24.08.1 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/utilities/kate/-/commit/8362fdac50283b4c469e4c7a509f7cd4a7add4e1 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Johannes
2024-09-17 09:26:30 UTC
Please share the .kateproject file. {
"name": "xxx",
"directory": ".",
"files":
[
{
"filters": ["*.java", "*.cc", "*.cpp", "*.h", "*.hpp", "*.hh"],
"recursive": 1
}
]
}
Did some bisection, it works in 24.02 but doesn't work in 24.05.
Git commit 8362fdac50283b4c469e4c7a509f7cd4a7add4e1 by Christoph Cullmann, on behalf of Waqar Ahmed. Committed on 17/09/2024 at 16:01. Pushed by cullmann into branch 'master'. Fix recursive directory traversal and remove file skipping Reverts 1c62b82d354cdd06b85a5d3d01ee49844546e763 The manual directory traversal was broken if someone used name filters. Besides that, we have "filters" and "exclude_patterns" to skip stuff, those should be used instead of us skipping things for people which may not be wanted in some cases. M +20 -55 addons/project/kateprojectworker.cpp https://invent.kde.org/utilities/kate/-/commit/8362fdac50283b4c469e4c7a509f7cd4a7add4e1 Big thanks for this super fast fix! |