Kate and KTextEditor 5 after Akademy 2014

The yearly KDE conference Akademy just ended, so it’s time to look at what changed in the holy Kate in the Frameworks 5 land.

KTextEditor Framework

  • silent reload of document: Switching a git branch, Kate always pops up a dialog asking whether to reload the document. With this patch, if the document is version controlled by git, the git hash of the file computed and then it’s checked whether the file exists in git. If so, the file is reloaded without asking you. This should be very handy for developers using git! Thanks to Sven Brauch for this idea!
  • new highlighting unit testing infrastructure
  • several new syntax highlighting files
  • cursor down in the last line in the document moves the cursor to the end of the line, same for the cursor up behavior, after just 8 years a bugzilla wish becomes true ;)
  • properly load/save the search & replace history
  • fix kateversion tags in all our >200 highlighting files, thanks to Martin Walch
  • as always: lots of improvements to the vi input mode

Kate Application

  • use native dialogs on all platforms, including OS X, Windows
  • split view: action to toggle splitter orientation
  • the toolbar is by default turned off (see screenshot), resulting in a very cleaned up interface. You can turn it on in the Settings menu.
  • new document switcher plugin (see screenshot) through Ctrl+Tab, providing quick access to the most recently used documents (similar to Alt+Tab in kwin), based on KDevelops code
  • improvements to the tab bar
  • revive, cleanup and improve the text snippet plugin by Sven Brauch
  • projects plugin: autoload project even if no .kateproject is found (configurable to not clash with the auto-generated cmake .kateproject file), implemented by Michal Humpula
  • the Plasma 5 applet to start a Kate session is back, thanks to the work of Josef Wenninger

Kate Document Switcher

A big thanks to the organizers of this year’s Akademy, and a big thanks to all our sponsors and supporting members. The location was amazing and the venue allowed us all to have a very productive week! Looking forward to next year! :-)

3 thoughts on “Kate and KTextEditor 5 after Akademy 2014

  1. Fantastic. I never realized that ctrl+tab was an available feature – I really like the new twist with functioning like alt-tab jumping through recent rather than just presenting a list.
    One thing that I thought about when looking at above screenshot is why there is a “Search and Replace” button that takes up a full line of text – especially with the toolbar now being hidden by default. Matching the other decision, then it should be hidden.
    Then I realized that this is a different Search and Replace than the “Replace” in the menu – this is called “Search in files” in the menu (freely translated from danish).
    I think that these tools should be relabeled to improve consistency.
    Probably ending up with something like “Find”, “Find and Replace” and “Find and Replace in Files”.
    Also the “Search and Replace” panel is closed differently than the Find and Find and replace.

  2. Silent reload sounds like a nice feature.

    But when there is no version control available, how about making the dialog less prominent and showing reloaded document automatically – while providing a possibility to revert the changes? Then the notification bar (you know, one of those indications shown top/bottom of the screen) could be like:

    “Document was changed outside Kate and it was automatically reloaded [Revert to old version]”

  3. >cursor down in the last line in the document moves the cursor to the end of the line, same for the cursor up behavior


Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top