PHP editor review: gPHPEdit

Sunday December 3rdPHP, Ubuntu Category

gPHPEdit is not the most complete editor that you will ever use and has a simple and unclutered interface which makes writing code easy. Its based on the Scintilla editor and takes it a step further than SciTE and uses Gnome 2. What it lacks in features it makes up with pure speed. It’s opened at exactly the last place you left it before you can blink your eye.

The main features are:

  1. Syntax highlighting for all functions up to PHP 4.3
  2. Code assistance (function, parameter assistance PHP 4.3 only)
  3. Syntax checking
  4. Tabbed viewing
  5. Support for HTML and CSS

The syntax highlighting works but if you’re like me as you can tell from the site I like to work with a black background (otherwise after a while I have very sore eyes) and after changing all the setting there still remained some portions of the code with the default white background. On searching the site this bug has been fixed and will be included for the 1.0 release or can be downloaded via cvs. Another thing working with a black background when selecting text that is white you can’t read it anymore as there is no way to change the hight lighting color.

The PHP code assistance is great and just like the application is displayed very quickly and can be adjusted. The syntax checker is manual and has to be called using the menu or F9 this can be quite annoying and it does not check any functions or parameters within the file.

The search facilities are very basic in that only one file can be searched and the searching only highlights the first occurrence at the top of the file and you must continue through each occurance within the file. This can be quite tedious for large files with many partial matches.

If you’re working on a large project with multiple folders navigation can be quite tedious although on smaller projects where all files are in a small number of folders the handy list of classes with their functions can be displayed on the left of the screen for easy navigation but beware of files that have functions only as they will be listed so a folder containing numerous files of this type can be very difficult to navigate.

Overall, this editor is quick and easy to work with but without some more advanced features it feels a bit naked, the lack of automated indentation and auto syntax checking become more and more frustrating after long term use. Quick folder navigation would be an enormous improvement and these three feature would alone push this application onto the desktop of many more developers. Despite the lack of more advanced features it isn’t a tool I would quickly uninstall. If you’re an Eclipse user for example and you want to quickly open a couple of files to view and perform small edits this is where it excels. In the time that eclipse starts you can open edit and save and be doing something else. This application is reaching version 1.0 and is showing the some good signs that with some further development and added features would be a much more useful application.

2 Comments

  1. Andy Jeffries
    January 24, 2007

    Thank you for the review. Unfortunately, I’ve not able to spend much time on gPHPEdit recently as my business is taking off. However, if I can get clear ideas of the sort of functionality people want to see I don’t mind having a whack at implementing it.

    I know a few people want to be able to go to a completely black background with lighter text. I’ll have a go at changing my settings to that here sometime and ensure it all works OK in the latest version.

    The File Navigation - how would you like to see it working? If you can do me a mockup (in GIMP or HTML) I’ll have a whack at implementing it.

    I don’t think the searching will be easy to do, I think I’m limited to a single range with Scintilla, but I’ll have a look.

    And to confirm, you’d prefer the syntax checking to be continually happening on changing (maybe 5 seconds after the last change was made)? I’ll have a go at that.

  2. Andy Jeffries
    January 29, 2007

    Just to let you know, the SVN version (not publicly accessible, but if anyone wants a tarball, let me know via http://www.gphpedit.org) now has the automated syntax-checking, every 3 seconds as 5 seconds felt like forever. It’s in an early stage, but it works (and it will have a preference to enable/disable it before it’s released).

    The highlighting multiple matches is a nightmare with Scintilla so in all likelihood won’t get done.

    I’ve still got to have a play with a black screen with light text and I’m waiting on an idea of what you thought would be a better file navigation mechanism.

Sorry, comments for this entry are closed at this time.

Size

Colors