This is a wish to add "Open" on a folder's context menu in Document view. currently the menu has "Reload", "Close" , "Expand..", "Collapse..", etc. I'm asking to add an Open option that would allow opening a new file within the selected folder
Git commit f2d4ca2a1956b6edb69af5652568327b7feff7f7 by Waqar Ahmed. Committed on 31/01/2025 at 09:23. Pushed by waqar into branch 'master'. Add file open action to Document context menu M +8 -0 addons/filetree/katefiletree.cpp https://invent.kde.org/utilities/kate/-/commit/f2d4ca2a1956b6edb69af5652568327b7feff7f7
thanks Waqar. could you make the open file dialog start at the dir of the selected folder? currently it seems to open at the parent dir of the current document
Git commit 88c9e9cda3da29bbf00583bd64ffa360d9fa50a1 by Waqar Ahmed. Committed on 31/01/2025 at 12:42. Pushed by waqar into branch 'master'. Make Documents context menu Open action more context relevant Instead of using the generic "Open..." action, create a new action that opens the File Dialog in the directory of current document. Also, hide the action if the current item is a "widget" or "open widgets" action M +17 -4 addons/filetree/katefiletree.cpp https://invent.kde.org/utilities/kate/-/commit/88c9e9cda3da29bbf00583bd64ffa360d9fa50a1
works perfectly now. thank you