| Summary: | Filter external tools based on file type | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Nicolas Fella <nicolas.fella> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | kde |
| Priority: | NOR | ||
| Version First Reported In: | Git | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/utilities/kate/-/commit/801cf1eae2baf8746ac5d5fb0287f532be78f67b | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Nicolas Fella
2022-03-15 11:28:39 UTC
Looking at External Tools > Configure it looks like tools already are able to filter on target mimetypes, so it's "just" a matter of adding more metadata to the existing tool definitions? A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1602 Git commit 801cf1eae2baf8746ac5d5fb0287f532be78f67b by Christoph Cullmann, on behalf of Waqar Ahmed. Committed on 28/09/2024 at 16:45. Pushed by cullmann into branch 'master'. Show relevant external tools in context menu Shown in project tree view context menu and Documents context menu. The tools are filtered by mimetype. Tools which have no mimetype are always shown. Related: bug 479027 M +25 -0 addons/externaltools/kateexternaltoolsview.cpp M +6 -0 addons/externaltools/kateexternaltoolsview.h M +10 -0 addons/filetree/katefiletree.cpp M +14 -0 addons/project/kateprojecttreeviewcontextmenu.cpp M +5 -0 addons/project/kateprojectviewtree.cpp M +7 -0 addons/project/kateprojectviewtree.h https://invent.kde.org/utilities/kate/-/commit/801cf1eae2baf8746ac5d5fb0287f532be78f67b |