It’s quite a long time I’ve been trying to run this awesome plug-in for Kate (Pâté) on my Linux box, a Kubuntu jaunty (with KDE 4.3).
Recently, when I got contact with Paul, the Pâté creator, we got it working here (Thanks, Paul!). I was very excited to see things like expanders working on Kate, and I like – very much – to have the power to enhance my favorite text editor easily.
So, here’s the magic I gotta do to install Pâté:
$ sudo aptitude install cmake kdelibs5-dev kdesdk-dev python-kde4-dev python-qt4-dev sip4
After that, you’re ready to compile Pâté and enjoy it. Compiling: In a shell, switch to the Pâté directory that you just downloaded from the git repository.
Then, run these commands (you might be familiar with them):
$ mkdir build && cd build
$ cmake .. --DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix)
$ make
$ sudo make install
There are some cool bundled plug-ins already. Can’t wait to use them?
$ cp -r src/plugins $(kde4-config --localprefix)/share/apps/kate/pate
One of these plug-ins is the awesome Expander, that can add code snippets to your code like Textmate does. Cool, huh? Now, start Kate, go to the plug-in list and voilà. Pâté is there. enable it and happy coding!
I noticed that it’s very easy to develop a python plugin for Kate. Please help us to make Kate even better and share your ideas with the community!
IRC: #kate @ Freenode







