Shrink the file menu by removing some actions that can also be accessed elsewhere
This MR is a somewhat radical proposal to shrink the file menu. It is quite opinionated and therefore likely needs some discussion.
The following actions are removed from the file menu:
- Rename
- Delete
- Compare
- Copy Filepath
- Open Containing Folder
- File Properties
- Close Others
Why?
Kate's file menu is large, even in comparison to other text editors/IDEs. It has a whopping 28 actions (with all plugins enabled). CLion only has 22, VS Code 19 and KDevelop 17. This can be overwhelming to users and makes it hard to find the right actions fast.
Why remove these actions in particular?
They are all accessible from other parts of the UI as well, e.g., the tab bar, which is always visible. Additionally, some of them can be accessed via the Documents and Filesystem Browser views. Most other editors also expose most of these actions only from context menus in their respective filesystem browser views and in their tab bar views.
Disadvantages
The disadvantages of this proposal are less visibility and accessibility for these actions in particular, and users might have grown accustomed to finding these actions in the file menu.