Configuring Komodo Edit for Joomla Code Completion
This article provides instructions for setting up Komodo Edit and code completion for joomla.
Put Joomla Somewhere Safe
Once you have downloaded the latest version of Joomla from the link above you'll want to put it somewhere on your drive where it won't get lost or deleted by accident. Unpack the Joomla file you just downloaded to this location.
Adding Joomla Path To Komodo
Start the Komodo Edit software you just downloaded and installed and in the menu at the top you will see a menu option titled Edit. Go to Edit -> Preferences (on a MAC it is Komodo--> Preferences --> Languages) and a dialog will appear. Find Languages in the list on the left, expand it and you will see a list of supported languages, click PHP in the left column.
On the right of the screen under PHP Directories you can specify directories that you want Komodo to use for autocomplete and calltips. Komodo will recursively scan these directories for information.
Press the green plus icon to add a new directory (on a MAC it is the + character) browse to the Joomla package you unzipped and placed somewhere safe. Mine is in "C:\joomla\joomla2_5\Joomla_2.5.4-Stable-Full_Package" press okay and the editor will add the all the joomla code to it's database and you'll have code completion as soon as it's done scanning.
Now you're ready to start coding.
To confirm that everything is working correctly do the following:
In Komodo open up a new file then save it as test.php this will allow Komodo to monitor input, then type "JFactory::" without the quotes, into your new php file and Komodo will list all the methods available to JFactory.