Ubuntu – Not able to see Kate Plugin for Javascript in Kubuntu


I installed Kubuntu 14.04 recently. I had heard about the Javascript related plugins(Pretty JSON specifically) being there in Kate setup. But it does not show up in any of the options. I am not sure if I need to install that separately. Any help with that regard would be awesome.

Best Answer

I was able to setup kate-plugins including the java-script ones but did not find Pretty JSON anywhere. I even tried asking on the IRC and the mailing list about this but did not find a response. You can however, install and access the plugin as follows:

Open a terminal(Ctrl+Alt+t) and type the following one line at a time:

sudo apt-get install git
sudo apt-get install python-kde4 python-jedi ipython

This will install the necessary packages for the plugin. After this, the plugin needs to be cloned from github since it is not available in the ubuntu repositories. For this do the following on the terminal:

mkdir build && cd ~/build
git clone https://github.com/goinnn/Kate-plugins
ln -s ~/build/Kate-plugins/kate_plugins/ $(kde4-config --localprefix)/share/apps/kate/pate

Now, you can access the plugins in Settings -> Configure Kate:

settings menu

enable plugins

plugins settings

Related Question