It would be nice to have the user defined external tools (External Tools plugin) available in the context menu of the Projects plugin's file tree. Only suitable tools should be shown, which means... * Tools that use file path variables like %{Document:FileName} or %{Document:Path} * NOT tools that use cursor position variables like %{Document:Cursor:Line} or %{Document:Cursor:Column} * NOT tools that have an Output setting which edits a document like "Insert at cursor position" or "Replace selected text"
What is the "Projects plugin's file tree"? I would like to have an context-menu-entry for my external tools on every text document in Kate. Would this be a different feature request?
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 451523 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
Ah, wonderful! ... Something is happening! ... Thank you guys! :-)