Tuesday, March 4, 2008

Lastdocs Plugin For gEdit

The Lastdocs plugin exposes a simple dialog that shows you the last opened files which can be edited with gEdit. It is inspired by Scribes a very promising editor that is in an early development stage.


What is the advantage over the recent files menu entry?


The the Lastdocs plugin is better suited to my workflow. I just press <Ctrl><Shift><o>,

the Lastdocs dialog pops up and I can use the arrow keys to choose a file. There doesn't need any mouse action to be involved.


How can I download the plugin?


Download the following file:



Deflate it and put the files in

~/.gnome2/gedit/plugins/

and activate the plugin.
If you have any ideas for improvement, don't hesitate to post them.



Regards,
Marco

Saturday, March 1, 2008

ToDo-List script

My todolist script is inspired (but is much simpler) by the todolist plugins for gedit from Nando Vieira and Alexandre Silva, that were already based on the TODO list Textmate bundle.


What can it do for me?


It helps you to track information posted in the comments of a source/text file. I don't think that is something special but maybe it is useful for somebody.


How do I use it?


Just put markers like

NOTE [Your text here.]
in your text file. Allowed markers are
NOW,TODO,FIXME,IMPROVE,CHANGE,OPTIMIZE,NOTE,DONE,
but you can easily change that in the sourcecode of todo_gtk.py to what ever you want. Start the script with
[python] [path to file/]todo_gtk.py [your text file].
The following window should appear.



If you have the gedit_todo_handler installed (see README for details) the links should open the file in gedit at the position of the marker. The script is best used with the External Tools plugin for gedit (again see README for details).


How can I download the script?


You can either use bazaar:

bzr branch http://bazaar.launchpad.net/~macco-gmx/+junk/todo_gtk

or download the following files:


  1. README

  2. gedit_todo_handler

  3. todo_gtk.py



If you have any ideas for improvement, don't hesitate to post them


Regards,
Marco