The “External Tools” plugin is one of the oldest plugins of Kate. A big hug to Anders Lund for writing it years ago, a lot of people enjoyed using it.
It allows the user to specify own commands (aka snippets of shell programs) to be executed with the text of the current document or the current file.
Basic stuff you can do with it:
- Create you a little command that shows an Git/SVN/… diff of current file
- Sort the file with command line sort program (or more advanced scripts)
- Pipe the text of the document into your most loved perl script
Unfortunately there is no maintainer for it at the moment. Therefore it will be disabled for KDE 4.8, as a lot of bugs sneaked into it during the late 3.x and whole 4.x life-cycle. (Mostly because of bad porting done by me and others and no time to fixup any real bugs)
If you want to step up for maintainer ship, please contact me (firstname.lastname@example.org) or email@example.com.
Thanks a lot in advance ;P
Btw., some of the bugs (now no longer valid but interesting for future maintainers):
Another season of Google Summer of Code is approaching its end. 🙁
I feel pretty bad about that, because I enjoy it and I love working on Kate.
I used the last two weeks to solve all the bugs and requests (folding related) from bugs.kde.org. If you find any folded related bugs, please send the report using bugs.kde.org and I will solve them (the warranty period is unlimited, so you don’t have to worry about that 😉 )
The next two weeks (the time remained until the dead line) will be used to write the documentation and to do some look changes, according to the code reviews received from the Kate community. Also, I will write some tests. Writing automatic tests for the folding is not such an easy task because you have to check a lot of stuff: the highlight, the folding sign, the folded lines, the line that remains visible and other things. And there are so many languages that act differently. That’s why I preferred to do the tests manually, so far. Anyway, I will write some units that will test the bases of the code folding, like number of lines left after a folding or some delete/insert operations occurred.
I consider this project a success and I hope that the Kate team has no regrets for choosing me for this GSoC season. 🙂
Enjoy Kate’s new code folding! 😉
This summer vi mode has a new test suite. Now there are over 250 tests and the number of them still growing.
It’s very easy to add a new test. All you need is just to add the
DoTest(“Original text”,”Vi command”,”Expected text after doing vi command”);
line to part/tests/vimode_test.cpp.
Format for command with CTRL – modifier: \\ctrl-x, for command -mode command: \\:command\\.
There are little restriction: you can’t input text while being in input mode.
It’s also a good format for bug report or for feature wish for vi-mode.
As you may know the Kate code folding implementation gets some love these days. The last days, several bug fixes dropped in by our GSoC student. And the good news is that if all works well, we’ll be able to backport these fixes so that the code folding is much more robust in our beloved Kate even in KDE 4.7.x. These changes probably fix several crashes that were around since 2005 as well. I believe the word we’re looking for is: owned! 🙂