gPHPedit

gPHPEdit
Developer(s) Andy Jeffries, Anoop John
Stable release 0.9.91 / July 5, 2006
Operating system Cross-platform
Available in English
Type Text editor
License GPL
Website http://www.gphpedit.org/

gPHPedit is a GPL-based, small UTF-8 compatible text editor for the GNOME desktop environment, built using Scintilla. It was originally written by Andy Jeffries, and is currently being maintained by Anoop John. It is similar to gedit with the difference that it is designed for PHP and HTML text editing. The current version is 0.9.91, released on July 5, 2006.

Contents

Features

Syntax Highlighting

Highlights PHP/HTML

gPHPEdit will recognise PHP and HTML files and colour highlight the file during editing. It recognises all PHP functions up to and including PHP 4.3.0.

Highlights CSS

gPHPEdit will recognise CSS files and colour highlight the file during editing. It highlights valid CSS classes and descriptors.

Highlights SQL

Currently in beta test phase, gPHPEdit will recognise SQL files and colour highlight the file during editing. This functionality is in its early stages of development and may have bugs. The files will not be affected, but may not appear correctly highlighted.

Coding Assistance

Dropdown Function Lists

Start typing the first few characters of a PHP function name and gPHPEdit will drop down a list of all the PHP functions that match. It recognises all PHP functions up to and including PHP 4.3.0.

Function Parameter Popups

After typing the name of a PHP function and hitting the open parenthesis "(" button, a list of the required/desired parameters will appear to help you remember the order of them.

Class/Function Browser

If your file is in the same location as other PHP files, gPHPEdit will automatically examine them and display a list of all the functions and classes in those files in a tree view on the left hand side of the editor. This view can be hidden/shown with a keypress for those times when you wish to use the full width of your screen.

Syntax Checking/Navigating Code

Lint Checking

If you have the command line binary installed for PHP, gPHPEdit can use it to do a lint check on your code. If the command line binary finds a problem it will underline the appropriate line with a wavy redline (ala Microsoft Word's spell check).

Incremental Search

Either click in the box or hit Ctrl+I to start typing some text to match. As you type the editor will find text that matches. If you know there are multiple matches, hit Enter each time to cycle through them. When you are finished searching, hit Escape to send the focus to the editor to make the changes at the last found position.

Go To Line

If you know the line you wish to edit (for example from an in-browser error message), click in the box or hit Ctrl+G to type a line number. When you press Enter, gPHPEdit will go directly to that line ready for editing.

Integrated Help

Context Sensitive

Simply highlight the PHP function you wish to lookup, hit F1 and the desired help page will open in a new tab within gPHPEdit (provided that you have the PHP documentation installed in the correct place and that you have the gtkhtml2 component installed).

Hyperlinked

After viewing one of the context sensitive pages, the links within the page are active so you can click from page to page to view related help pages.

Fast Startup

Because the help system is an integral part of gPHPEdit, there is no startup time when hitting F1 - the page loads almost immediately after the button is pressed![1]

Porting/Testing

Version 0.9.91 is now in Debian Stable thanks to Lior Kaplan.[2]

gPHPedit is available as a stable Gentoo binary.[3]

It has also been ported to FreeBSD although not officially supported by gPHPedit.org[4]

See also

References

External links