Code

Using gedit with Django

gedit is a free, lightweight editing tool for the GNOME desktop found in many distributions of Linux, BSD and other Unix systems.

Feature List

  • Full support for internationalized text (UTF-8)
  • Configurable syntax highlighting for various languages (C, C++, Java, HTML, XML, Python, Perl and many others)
  • Undo/Redo
  • Editing files from remote locations
  • File reverting
  • Print and print preview support
  • Clipboard support (cut/copy/paste)
  • Search and replace
  • Go to specific line
  • Auto indentation
  • Text wrapping
  • Line numbers
  • Right margin
  • Current line highlighting
  • Bracket matching
  • Backup files
  • Configurable fonts and colors
  • A complete online user manual

Some screenshots of gedit:

http://www.gnome.org/projects/gedit/screenshots.html

There are useful plugins like a python console or snippets and of course you can write your own plugins in python.

http://live.gnome.org/Gedit/Plugins/BetterPythonConsole

Plugins

A list of plugins that you may find helpful in gedit:

  • Auto Tab
  • Bookmarks
  • Draw Spaces
  • Embedded Terminal
  • File Browser Pane
  • FTP Browser
  • Line Tools
  • Modelines
  • Python Console
  • Save without trailing space
  • Session Saver
  • Smart Spaces
  • Snippets (& django snippets for gedit)
  • Symbol Browser
  • Tag list

django theme for gedit

I created a theme based on the color scheme used on the Django website.

To install the scheme, download django1.xml and copy the django1.xml to /usr/share/gtksourceview-2.0/styles/

sudo cp django1.xml /usr/share/gtksourceview-2.0/styles/

and activate it in gedit > Edit > Preferences > Fonts & Colors.

screenshot of gedit and django scheme

Last modified 4 years ago Last modified on 07/29/10 15:35:48

Attachments (4)

Download all attachments as: .zip