Drupal extension for Komodo

Posted by jeff.griffiths on 2009-10-24 11:48 |
Wed, 2011-03-23 18:18
  • : 4.1 - 5.*
  • : 4.1 - 5.*

Update: 0.4.1 Again no *major* changes, hence the point release, but the attached cix file now contains much better data for the node and user 'data types'.

Update: 0.4 contains no major changes, the main differences are that now the module project template produces a skeleton module that will enable in Drush with no errors, and passes all checks from the coder module.

This is an initial cut of some Drupal-specific features for Komodo:

  • basic autocomplete for the $user, $account and $node object conventions used extensively in Drupal code
  • a Tools menu item to edit the Drupal.cix
  • a basic Drupal 6 module project template that uses snippets to generate a module skeleton
  • This release is very basic and I would welcome comments and suggestions on how to improve and extend it ( and patches! ). The code is hosted on workspace:


    Some screenshots:

     Autocomplete for an $account variable.autocomplete: Autocomplete for an $account variable.

    Enable Api catalogEnable Api catalog: In order to get the autocomplete magic, you need to enable the Drupal api catalog the extension installs. This is done in Preferences / Code Intelligence.

    This is how to create a new Drupal 6 module using the included project template:

    Create new project from templateCreate new project from template

    Choose the templateChoose the template

    Pick a name for the modulePick a name for the module

apolzon | Fri, 2009-11-13 09:30

Thanks for putting time into this and helping an open source community be more productive!

I'm not able to get any of the code assist to work. When I type $node-> (or $user, or using the code in the background of your last screenshot) nothing happens and the status bar says "no type-inference info for argument 'node'. I've opened the drupalnode.cix file, and everything looks intact (however I'm not familiar with a cix file, so I could be missing something). I apologize if I should be making this comment on the forums and not here; please let me know and I'll repost there.

jeff.griffiths | Fri, 2009-11-13 10:25


Sorry, I need to update the instructions, you also need to *enable* the api catalog.


apolzon | Fri, 2009-11-13 10:51

Perfect! That was exactly what I needed. Thanks again.

mariocavalli | Sat, 2010-01-30 15:40

Thanks for this usefull information ben10 oyunlari sungerbob oyunlari

imanerd | Wed, 2010-09-15 10:04

I would LOVE to have an extension like this for WordPress.

neotohin | Thu, 2010-10-21 06:25

How to run this on Komodo Edit 6 ?? or when u r planning to upgrade it for komodo Edit 6 ?

nevergone | Sat, 2011-01-08 13:57

hlslaughter | Wed, 2013-12-11 19:03

Given that you use Drupal yourselves, it seems strange that you don't maintain this extension.