Last updated December 31, 2008. Created on November 4, 2007.
Edited by LeeHunter, reikiman. Log in to edit this page.

jEdit "is a mature programmer's text editor" with support for lots of programming language and text file formats, and many plugins to extend its capabilities. It is written in Java, making it available across various platforms.

Out of the box it supports editing Drupal-related files including PHP, HTML and XML.

To meet the Drupal coding guidelines make the following settings in Global Options 1) Click on Editing, 2) Under "PHP": Click 'Default Settings' (to turn that off), set tab width and indent width to '2', and to use soft tabs. Do the same for Javascript and HTML.

I find it helpful to turn on line numbering in the gutter. While having the Global Options menu open, click on 'Gutter' and select line numbering.

In the Global Options section, 'General', an important option is the default line separator. It should probably be set to Unix (using '\n').

There are some useful plugins to install. From the Plugin Manager (Plugins menu) click on the Install section. It shows you the list of available plugins and you can select them as desired.

FTP lets you treat files on FTP or SFTP servers as if they were part of the file system. Once this is installed, choose Open File and under plugins see FTP and that it has two choices Connect to FTP server and Connect to SFTP server. Fill in your user name and password as appropriate and away you go.

The plugins include jEditCVS and SVNplugin for interfacing with source code repositories.

Two plugins interface with database servers, DBTerminal and SQL.

PHPParser adds additional PHP editing features beyond syntax coloring.

Looking for support? Visit the forums, or join #drupal-support in IRC.


Canine Coaches’s picture

THe super abbrevs plugin is also a must have for me. I am very new to php, but i can see it being useful for that as well and it is completely customizable. There is a tutorial online for it. I can not think of the site right now, but you will find it through google search (super abbrevs tutorial). I actually went and found it here is the link.

This is an amazing tutorial with info on numerous plugins and macros. In this tutorial he describes his setup (4 space indent, etc.) do not use that info, but the rest is great. This tutorial ended my weeklong search to choose a main editor to start in PHP. (I tried about 6 I think.)