Snippets for gEdit
Thursday November 6th, 2008
Tagged:
CodeIgniter
Written by
As a result of moving some of the time over to develop using Ubuntu, and using gEdit a lot as a result, I have attempted to port the Intype snippets across to gEdit. Though not identical to the ones for Intype, they're pretty close and hopefully people will find them useful!
The original bundle available for Textmate / E-TextEditor is available from Start Up Web 2.0
How to install
- Download the CodeIgniter snippets XML file for gEdit
- Load gEdit and Install the gEdit Snippets plugin (from Edit - Preferences - Plugins)
- From the 'Tools' menu, choose 'Manage Snippets'

- Click the 'Import snippets' button, and choose the XML file you downloaded
- New entries should now be shown under the "PHP" heading as shown below:

- Close 'Manage Snippets
- To test: Open a php source file. Type: ciarg and press <tab>. You should be presented with the a snippets menu.
If for any reason you wanted to remove these snippets from gEdit, the file is held in ~/.gnome2/gedit/snippets
Tab triggers
- Benchmarking Class - cibench
- Calendaring Class - cical
- Config Class - ciconfig
- Database Class - cidb & ciar (active record)
- Email Class - ciemail
- Encryption Class - ciencrypt
- File Uploading Class - ciupload
- FTP Class - ciftp
- HTML Table Class - cihtml
- Image Manipulation Class - ciimage & ciimageconf
- Input and Security Class - ciinput
- Loader Class - ciload
- Language Class - cilang
- Output Class - cioutput
- Pagination Class - cipag & cipagconf
- Session Class - cissession
- Trackback Class - citrack
- Template Parser Class citemp
- Unit Testing Class - ciunit
- URI Class - ciuri
- User Agent Class - ciagent
- Validation Class - civalid
- XML-RPC Class - cixmlrpc
- Zip Encoding Class - cizip
Enjoy!
Comments currently disabled


