|This article relies on references to primary sources. (August 2011)|
||This article's tone or style may not reflect the encyclopedic tone used on Wikipedia. (June 2008)|
|Developer(s)||Andy Jeffries, Anoop John|
|Stable release||0.9.91 / July 5, 2006|
gPHPedit is a 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. It is free software licensed under the terms of the GNU General Public License (GPL),
- 1 Features
- 1.1 Syntax highlighting
- 1.2 Coding assistance
- 1.3 Syntax checking/navigating code
- 1.4 Integrated help
- 2 Porting/testing
- 3 See also
- 4 References
- 5 External links
||This section uses first-person ("I"; "we") or second-person ("you") inappropriately. (March 2010)|
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.
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.
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.
If the opened 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 to use the full width of the screen.
If the command line binary is installed for PHP, gPHPEdit can use it to do a lint check on the code being edited. If the command line binary finds a problem it will underline the appropriate line with a wavy red line (ala Microsoft Word's spell check).
Either click in the box or hit Ctrl+I to start typing some text to match. As type is entered the editor will find text that matches. If there are multiple matches, hit Enter each time to cycle through them. When finished searching, hit Escape to send the focus to the editor to make the changes at the last found position.
If the line number to edit is known (for example from an in-browser error message), click in the box or hit Ctrl+G to type a line number. When Enter is pressed, gPHPEdit will go directly to that line ready for editing.
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).
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.
- "Features/Screenshots - gPHPEdit - PHP/HTML/CSS Development Environment for GNOME". Andy Jeffries. Retrieved 2007-09-14.
- Debian Webmaster, firstname.lastname@example.org. "Debian - Details of package gphpedit in squeeze". Packages.debian.org. Retrieved 2010-11-10.
- "gPHPEdit - PHP/HTML/CSS Development Environment for GNOME". Andy Jeffries. Retrieved 2007-09-14.
- "FreshPorts -- editors/gphpedit". DVL software Ltd. Retrieved 2007-09-14.