![]() The appearance of KEYWORD4 can be changed under Utilities > Global Options > Syntax Highlighting. With all the files saved, jEdit should highlight Drupal functions like theme() and db_query() as KEYWORD4. Right before that section, before the tag, insert the following code: In it you'll find a section that is a list of all the keywords in the PHP language. Next open up php.xml from the same directory (preferably in jEdit, it'll catch mistakes with ErrorList). You can put it after "doxygen" to maintain alphabetical order. Between any two tags insert the following: Open up the 'catalog' file in the 'modes' directory. jEdit allows users to write and modify the XML files that define its syntax highlighting to achieve this.įirst off, download one for Drupal 5.x or generate (see below) the XML file and put it in jEdit's 'modes' directory. With all of Drupal's myriad functions, it can be nice to be able to differentiate between them and PHP's functions. Note this information is adapted from the Übercart web site with permission. PHPParser adds additional PHP editing features beyond syntax coloring. ![]() Two plugins interface with database servers, DBTerminal and SQL. The plugins include jEditCVS and SVNplugin for interfacing with source code repositories. Fill in your user name and password as appropriate and away you go. 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. It shows you the list of available plugins and you can select them as desired.įTP lets you treat files on FTP or SFTP servers as if they were part of the file system. From the Plugin Manager (Plugins menu) click on the Install section. There are some useful plugins to install. ![]() It should probably be set to Unix (using '\n'). In the Global Options section, 'General', an important option is the default line separator. While having the Global Options menu open, click on 'Gutter' and select line numbering. I find it helpful to turn on line numbering in the gutter. 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. Out of the box it supports editing Drupal-related files including PHP, HTML and XML. It is written in Java, making it available across various platforms. 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.
0 Comments
Leave a Reply. |