Tuesday, 24 March 2015

Customising Gedit for tcl scripting

I spent a whole evening trying to find out some IDE or editor that would help me in coding tcl scripts as a part of ns simulations. The major feature I expected was autocompletion and keyword highlighter. Every editor/IDE that I stumbled upon contained one or the other, but not all. I tried Komodo Edit, Visual TCL,Alpha(tk) etc. Some of these even tested my patience in installing them.
Frustrated, I took recourse to Gedit and by chance I noticed that there are certain plugins available for Gedit, which I found would help satisfy my requirements I had mentioned in the para above. One notable plugin is the “Autocompletion” plugin. While you type the code/some word, this plugin shows a popup of words which were used before in the same document. In simple, it “autosuggests”. This one was interesting.

Along with this, you can enable some more plugins like “Bracket Completion”,”Embedded Terminal” and “Session saver”, whose purpose is pretty much self explained. And thus you almost have an IDE customised to code tcl or almost any language, needless to say that gedit provides better code highlights.
This is where you find the plugins….
Gedit–>Edit–>Preferences–>Plugins
For more on installing gedit plugins in Ubuntu, see my previous post.
<Here> is a complete list of Gedit plugins and don’t miss out the Latex plugin :)


No comments:

Post a Comment