• Scripting in Kate

    by  • 2012-01-21 • Developers, Users • 4 Comments

    Since several releases, Kate Part has scripting support through javascript. So far, it seems it is not much used by users. Still, I stumbled over two extensions:

    If you have more user defined scripts, it would be nice if you let us know! For KDE5, we plan to extend this, so applications like Kile or KDevelop can reuse Kate’s internal code.

    On another note, here is a nice blog about the upcoming KDE 4.8 release :-)

    About

    Dominik is a PhD student at the Control Theory and Robotics Lab, TU Darmstadt, as part of the Research Training Group GKMM (GRK1362). My research focuses on state estimation in distributed systems. As hobby, I contribute to the KDE project and work on the Kate application and editor component.

    http://www.kate-editor.org

    4 Responses to Scripting in Kate

    1. Arno Wald
      2012-01-21 at 18:34

      I could need the scripting functionality if it was possible to invoke an external script, push some text (e.g. the current selection) via STDIN into it and do something with the STDOUT output of the script, e.g. replace the current selection. AFAIK this is not possible with kate scripting. So I am using medit for such things.

    2. Emmanuel Lepage Vallee
      2012-01-21 at 22:11

      No just KDevelop and Kile, every text field / label / lineedit / textedit / textbrower / webkit. KDE need an equivalent to Android Linkify subsystem. This would be great. There was a GSOC for that a while ago, but (i) had to give up because of internal conflict between using QtQuick/JS or KROSS. Then once it was sorted out (the final decision was that we would need two complete, competing system!?!?, I was against Kross), I had no time left and had to give up and find a real job. But that was some years ago. Having regex based text trigger and other script to kaction goodies would still be awesome for mobile and powerusers.

    3. Pascal
      2012-02-21 at 14:30

      Why is the Kate manual not available online on the website?
      It would help google and me a lot :-)

    Leave a Reply

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


    *