• Kate Scripting: Indentation

    by  • 2007-07-18

    Kate Part in KDE4 supports the ECMAScript (JavaScript) language by using kjs. In KDE3 we had several hard-coded indenters in C++, the idea is to let scripts do all the indentation in KDE4. How does it work? It is similar to vim: You simply create a script in the directory $KDEDIR/share/apps/katepart/jscript. An indentation script has [...]

    Read more →

    API documentation & refactored kdelibs/kdeui

    by  • 2006-12-28

    During the last weeks/days the directory structure of especially kdelibs/kdeui got a major overhaul: in KDE 3 all files of a module were in the same directory which was more or less a mess as you did not know immediately which files belonged to the same category. kdelibs/kdeui in KDE4 has a rather clean structure [...]

    Read more →

    Share Kate Highlighting Files

    by  • 2006-10-12

    Thanks to Frank we have a dedicated section for Kate Highlighting files on kde-files.org now. We encourage everyone to publish their .xml files there. The Kate team agreed to add more highlighting files to the official Kate releases, though, as long as they are of general use. For KDE4 we plan to have a section [...]

    Read more →

    Kate: More eye-candy

    by  • 2006-09-29

    Two years ago we had the KDE conference in Ludwigsburg, Germany. At that time, Martijn Klingens committed a patch to show trailing spaces in Kate. I just change the visualization a bit, the change is in for KDE4 Tabs are marked with a ‘»’ character, and spaces with a dot. On the left you can [...]

    Read more →

    Smart End

    by  • 2006-08-9

    Since KDE 3.5.4 Kate Part supports “smart end“. Right now it behaves like this when pressing “end”: go to last non-space character go to the last character (i.e. hit end twice) I’m writing this blog to get feedback about what’s the right/expected behaviour. Is it as described above, or should we first go to the [...]

    Read more →

    Kate in KDE 3.5.4

    by  • 2006-08-2

    Finally, KDE 3.5.4 is out! We were able to fix a lot of issues in Kate and the bug curves went noticeably down. Thanks to all contributors for the nice KDE release

    Read more →

    Kate: Shortcomings of .kateconfig file

    by  • 2006-07-23

    Assume you have a .kateconfig file optimized for C++ code that replaces tabs on save. Now you open a Makefile that contains tabs (due to its strict syntax). If you save the Makefile in kate, the tabs then are replaced which results in a corrupted Makefile. In other words: The .kateconfig file applies to every [...]

    Read more →

    Indentation and Coding Style

    by  • 2006-07-23

    kdelibs will have coding style conventions. In general. this is not a bad idea. Our 45528 slocs in KatePart all use a consistent indent-width of 2 spaces. Changing this does not really make sense – ok, if svn praise -w (sure, we never need svn blame in our code finally works, we can discuss this [...]

    Read more →

    Kate Project Plugin

    by  • 2006-07-20

    It is not a secret that removing Kate’s project manager in KDE 3.5 was not the right thing to do. It seems a lot of people used it and we got many complaints about this decision. That also shows that it is hard go get feedback about what users are really using. If a feature [...]

    Read more →