This is a feature that I miss from an editor I used for a long time before switching to kate... There was an Insert File option on the File menu that opens a file chooser and inserts ths selected file into the current document at the current position.
Seems like a reasonable wishlist item, moving to Confirmed (You're probably thinking of a graphical editor...the program I'm thinking of with that feature is nano!)
(In reply to John Kizer from comment #1) > Seems like a reasonable wishlist item, moving to Confirmed > > (You're probably thinking of a graphical editor...the program I'm thinking > of with that feature is nano!) in my case it is emacs
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1679
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/766
Git commit 204817b8e54f6d337ad0e37840ffed564561097b by Christoph Cullmann, on behalf of ambar chakravartty. Committed on 26/12/2024 at 18:49. Pushed by cullmann into branch 'master'. "Paste From File" feature for Kate to select a file and insert it's contents into the current file This feature allows the user to open a file and insert the entire contents of that file at the cursor position of the currently open file. M +2 -1 src/data/katepart5ui.rc M +26 -23 src/document/katedocument.cpp M +5 -0 src/document/katedocument.h M +15 -0 src/view/kateview.cpp M +5 -0 src/view/kateview.h https://invent.kde.org/frameworks/ktexteditor/-/commit/204817b8e54f6d337ad0e37840ffed564561097b
Looking good. thanks so much
Thanks to Ambar to implement that.