Gedit TODO List (English)
(Clique aqui para ver a versão em Português)
UPDATED: This plugin is now part of GMate project. follow project instructions to know how to install.
A Gedit plugin (default Gnome text editor) that allow gedit to capture text markups, included in your source file comments, generating a file list containing the file name, the line number where the comment was found and the comment about the mark.
The plugin is an reimplementation of the plugin created by Nando Vieira adding some improvements and optimizations. The original code is written in Ruby and our code is written all in python. Ruby is a great language but, for users that don’t need Ruby for another application or simple don’t want to install Ruby on their computers this is a solution, because python is default in most Linux distributions.
The original plugin is already a port from the Textmate ToDo Bundle (Textmate is a featured Text editor for Mac) and many features found there, are also present at our plugin.
See the original Todo Bundle (Textmate): (click on image to enlarge)
Our friend Nando Vieira have done an exelent work porting the features to gedit, we can see the results of his work at the folowing screenshot (from his blog):

All I’ve done until now was get the original code from Nando’s svn repository as explained on his blog, improve some aspects and port all to Python.
The final result of first release is something like the folowing image: (click at image to enlarge)

The folowing improvements was implemented:
- Refatoring of Ruby code to Python code;
- Small adjusts on navigator window, related to size and layout;
- Creation of a configuration file where some configs can be set:
- New file types;
- New skiped directories;
- New ignored files;
- New tags (yes, you can create your own tags);
- Tag color customization, to change the existing tags and add new;
- Possibility to hide or show empty tags(0 Items);
- Developed an instalation script;
- Developed an environment fix script to fix Ubuntu problem with gtkmozembed;
- More detailed instructions at README file;
The project can be found at github.
You can download the tarball by clicking here, or if you prefer, checkout the sources directly from git repository:
git clone git://github.com/lexrupy/gmate.git





#1 by Stuart on maio 24, 2008 - 12:50 am
The plugin seems to be working in Ubuntu 8.04 now
#2 by Alexandre on maio 24, 2008 - 1:48 am
Here really not
, the plugin is loaded sucessfully, and I can see the window whith the list of all marks, but I cannot open any file by simply click on his link. Firefox3 seems to behave different with url-handlers
did you do something to get it working?
#3 by patambrosio on junho 8, 2008 - 3:11 pm
Hey, i really love your work on this, i’m excited to get this to fully work with my machine, although we get the same bug, wherein firefox doesn’t handle the gedit://.. requests.
I’m using ubuntu 8.04
please email me when you (or someone) gets this to work on 8.04, thanks!
#4 by Alexandre on junho 9, 2008 - 4:02 am
ok. but just if someone…. the last entire month, I’ve tested the jEdit, it is a very cool IDE written in Java, and worked like a charm to me…I will post something about that soon.
Give a try by yourself, I recommend the last version on their site, but that distributed with ubuntu is pretty cool.
I also recommend to use the sun-java6-jre instead of openjdk, with the second one some ghost windows appeared
in my screen when using jEdit
http://www.jedit.org/
#5 by Firmansyah Adiputra on junho 17, 2008 - 12:33 pm
To make it work in ubuntu 8.04, you need to edit the __init__.py of the plugins like this:
(at line 171 insert this line of code)
gtkmozembed.set_comp_path(“/usr/lib/firefox-3.0″)
so it will looks like this
…
if self.todo_window:
self.todo_window.show()
self.todo_window.grab_focus()
else:
gtkmozembed.set_comp_path(“/usr/lib/firefox-3.0″)
self.moz = gtkmozembed.MozEmbed()
self.todo_window = gtk.Window()
…
it should work now.
#6 by Alexandre on junho 17, 2008 - 12:53 pm
Firmansyah, Thank you for the tip, I will try this out ASAP.
#7 by Seydu on junho 24, 2009 - 8:57 pm
Thanks for the plugins. I installed it and it displayed all marked items. But when I click a file gedit displays the message ‘gedit is not a registered protocol.’ Do you guys know what I am having wrong ? (I used automatic installation on Ubuntu 8.10)
#8 by Mike Crittenden on agosto 19, 2009 - 6:22 pm
I’m getting an error when opening up the TODO list especially when viewing remote files. The error message is:
The file /tmp/_todo_mcrittenden_todo.html cannot be found. Please check the location and try again.
My guess is that it’s trying to create that file in the /tmp directory of the remote server I’m working on, is that correct? Or, any ideas on how I can get it working for remote files?
#9 by alexandre on agosto 20, 2009 - 12:00 am
@Mike: I will inspect it asap… you can view the status at http://github.com/lexrupy/gmate/issues/#issue/4
#10 by alexandre on agosto 20, 2009 - 12:35 am
@Mike, I think I fixed this issue, so please, get the latest code from github and test. this should work now.
any feedback, please report to github issue #4