I'm adding an insertFile feature to Kate, need help about UI choices

Hi everyone, I’m working on an “Insert File” feature according to this request which would read text from a selected file and insert it’s contents at the current cursor position of the current file.

Which Tab/Group should this “Insert File” feature be placed in ? [File, Edit, View, etc.]

1 Like

if i had to pick one of the existing menus it would have to be Edit.

under the Paste and Paste Selection, and after the clipboard options, add a Paste from File… menu entry

i’m agnostic on what the default shortcut should be, but there definitively should be a keyboard shortcut of this menu entry.

2 Likes

Thanks for the help !

To talk to the Kate developers, you could go to the #kate:kde.org matrix room, or if you have some code already you could open a merge request. I’m not sure if the Kate developers watch this forum or not, it’s more for user discussions.

2 Likes

As a non-developer myself, I can vouch that the one foray I’ve made so far into contributing code was to fix a bug I noticed in Kate, and the folks in that Matrix room were super helpful with my very “newbie” questions, and ultimately with review of the merge request.

And a quick check-in with the folks working most closely on the project about a design/layout choice would be very welcomed, I’m sure :slight_smile:

2 Likes