Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

gPHPedit

From Wikipedia, the free encyclopedia
gPHPEdit
Developer(s)Andy Jeffries, Anoop John
Preview release
0.9.91 / July 5, 2006; 18 years ago (2006-07-05)
Repository
Available inEnglish
TypeText editor
LicenseSince 0.9.96: GPL-3.0-or-later[1]
Until 0.9.91: GPL-2.0-or-later
Websitewww.gphpedit.org Edit this on Wikidata

gPHPedit is a discontinued UTF-8-compatible IDE for web development in PHP using the GNOME desktop environment. gPHPedit is built using Scintilla. It was originally written by Andy Jeffries, and was maintained by Anoop John. It is similar to gedit with the difference that it is designed for PHP and HTML text editing. The last 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

[edit]

Syntax highlighting

[edit]
  • 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[clarification needed], 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

[edit]
  • 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 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

[edit]
  • 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).
  • Incremental search

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

[edit]
  • Context sensitive help Highlighting a PHP function and hitting F1 will display the function's help page in 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. allowing navigation between 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.[2]

Porting/testing

[edit]

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

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

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

References

[edit]
  1. ^ "Moved licenses to GPLv3". GitHub. 2009-02-22.
  2. ^ "Features/Screenshots - gPHPEdit - PHP/HTML/CSS Development Environment for GNOME". Andy Jeffries. Archived from the original on 2007-08-27. Retrieved 2007-09-14.
  3. ^ Debian Webmaster. "Debian - Details of package gphpedit in squeeze". Packages.debian.org. Retrieved 2010-11-10.
  4. ^ "gPHPEdit - PHP/HTML/CSS Development Environment for GNOME". Andy Jeffries. Retrieved 2007-09-14.
  5. ^ "FreshPorts -- editors/gphpedit". DVL software Ltd. Retrieved 2007-09-14.
[edit]