Eckhard Jäger released a plugin for gEdit last Monday which allowed you to create your own templates, and then create files from those templates. I really liked the idea of this plugin, so I’m going to help it out a bit. Here is a quick archive of a few useful templates for web developers.
It includes these templates:
- XHTML 1.0 Strict
- XHTML 1.0 Transitional
- CSS
- PHP
I may add more templates over time, but that’s all for now.
Here’s how to get it.. Run these commands sequentially in a terminal:
wget http://engel.uk.to/etc/templates.tar.gztar -zxf templates.tar.gzmv templates ~/.gnome2/gedit
Or, if you prefer a graphical interface you can download the file and extract that into ~/.gnome2/gedit.
Hello Engel,
i checked your templates, if my personal templates are used for a programming language (Python, JavaScript, Php etc.) i’m using an information header (written as comments). Somthing like this:
//
// Project:
// Version: 1.0.0
// Date:
// Auhor:
//
// Done with openSweeTS – delicious TypoScript development.
// http://typoscript.area42.de
//
That’s a great idea. However, I wasn’t sure if all people would want that in their templates or not.
yet, its easier to highlight the comments and press Delete,
than to type the template.
thats the whole point of templates, after all.
ah! download finished!
Hey, this is very useful, thanks. But it seems you missed the closing tag for head in both html files.
Hello,
a new version of the gEdit Template plugin is available, now completely localized in german or english.
>Hello,
>
>a new version of the gEdit Template plugin is available, now >completely localized in german or english.
Where?
Regards
TompaD