Jump to content

gPHPedit

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Wickorama (talk | contribs) at 04:51, 8 January 2015 (External links: Category:Software using the GPL license). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
gPHPEdit
Developer(s)Andy Jeffries, Anoop John
Stable release
0.9.91 / July 5, 2006; 18 years ago (2006-07-05)
Repository
Operating systemCross-platform
Available inEnglish
TypeText editor
LicenseGPL
Websitewww.gphpedit.org

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),

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 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

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 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.

Syntax checking/navigating code

Lint checking

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.

Goto line

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.

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

  1. ^ "Features/Screenshots - gPHPEdit - PHP/HTML/CSS Development Environment for GNOME". Andy Jeffries. Retrieved 2007-09-14.
  2. ^ Debian Webmaster, webmaster@debian.org. "Debian - Details of package gphpedit in squeeze". Packages.debian.org. Retrieved 2010-11-10.
  3. ^ "gPHPEdit - PHP/HTML/CSS Development Environment for GNOME". Andy Jeffries. Retrieved 2007-09-14.
  4. ^ "FreshPorts -- editors/gphpedit". DVL software Ltd. Retrieved 2007-09-14.