- Tabbar: Add 'Rename file' menu itemAdd some actions to Tabbar context menu and File menu
New items in Tabbar context menu:
- 'Rename file'
- 'Delete file'
- 'Properties'
- 'Compare'
'Compare' does the following: compare two files with an external diff tool. It works like this: right click on a tab which is NOT active and select the appropriate menu item (see screenshot). Then, the external tool opens and compares the active document with the one which was clicked on. Currently, three diff tools are supported: kdiff3, kompare and meld.
New items in File main menu:
- 'Rename file'
- 'Delete file'
- 'Compare'
- 'Copy File Path'
- Tabbar: Add 'Delete file' menu item- 'Open Containing Folder'
- Tabbar: Add menu item to compare two files with an external diff tool. It works like this: right click on a tab which is NOT active and select the appropriate menu item (see screenshot). Then, the external tool opens and compares the active document with the one which was clicked on. Currently, three diff tools are supported: kdiff3, kompare and meld.'Properties'
Screenshots:
Tab context menu:
{F6414794}
Tab context menu when no file is associated:
{F6414793}
Tab context menu with the compare feature:
{F6431032}
Actions are also available in the main File menu:
{F6450928}
NOTE: Some code of kfileactions.cpp was copied and adapted from katefiletree.cpp. TODO: reuse code there. Probably, this means kfileactions.h must be moved to KTextEditor.