Tag Archives: planet

Kate git repository moving to git.kde.org soon!

We tried to move weeks ago already, but in our current repository some small glitches occured during the SVN => Git transition.
I have redone the conversion now and soon we will be on git.kde.org (if I not screw that again, thanks already to sysadmin for all help, now and in past!).
Still some small stuff will then need to be ported, which I will do after the initial repository is up there.
After this, the repository on Gitorious will vanish.

I will keep syncing KDE SVN and the repository, until KDE has migrated, too.
But please, if you work on features rather than simple oneliner fixes, use the git repository on git.kde.org after it is announced to be available.
You have automagically a git account and it makes merges for me much easier, if there are not too many conflicts from SVN -><- Git.

I hope the Kate team can keep the kate repository then as sole workspace, as working on the kate part/app is much easier for all contributors if you don’t have to get whole kdelibs/kdesdk. But that is still not discussed out I think, release team has a say here, as I would rather like to stay in KDE release cycle.

Highlight Selected Text

Kate has a new plugin called “Highlight Selection”. Since it is a KTextEditor plugin, it is available for all apps using KatePart (e.g.: Kile, Kate, KWrite, KDevelop etc). What does it do? If you select a whole word, all occurrences of this word are highlighted as well:

You can jump to the next occurrence with ctrl+h (btw: ctrl+h works already since KDE 4.2 or so). The plugin will be included in KDE 4.6. If you can’t wait, you can use it already now by building Kate from the sources.

(Side note: Be careful with enabling this plugin in KDevelop, since KDevelop itself is already doing extensive highlighting)

PHP treeview improvements in Kate

Being a regular Kate user (more than half a dozen hours each day), I was not satisfied by the PHP treeview (available from the SymbolViewer plugin). As some of you have probably noticed, it is quite outdated and seems to only support the PHP4 syntax.
Here is a screenshot:
The recent switch of Kate to gitourious was the trigger to try compile it on my own and to dive into the source code. A few hours later, the PHP treeview was rewritten. It currently supports the PHP5 syntax (even the namespaces).
Here is screenshot with the same file:
I’ve submitted my patch to the Kate Team (via the mailing list) and it was kindly accepted and merged. Thanks.
PS: Hi Planet KDE, this is my first post :)

Recent Files Menu in Kate

As many other applications Kate has the menu File > Recent Files, which lists all files you recently used. This recent file list right now is per session, i.e., each session has its own entries listed as recent files. Now there is a request to change it such that there is just one single global recent file list. I think having two recent files menus (one for the session and one global) is a bad solution. Further, adding an option for that also sounds wrong.

To change or not to change, that’s the question?! :) What do you think?