Komodo IDE X (10) Drupal 8 Setup

Last updated on
15 May 2023

This documentation is deprecated.

This applies to Komodo IDE X (AKA Komodo 10). Much of it is applicable to other versions of Komodo IDE and Komodo Edit. If you edit this document for another version please update the "Applies To" notes as appropriate.

Komodo IDE is no more supported by Activestate, so it's possible that this doc is outdated.

Get Local Code

For code intelligence, autocomplete, debugging, etc, local code is needed for Komodo. (applies to: Komodo IDE X)

  1. install php on your local machine. be sure to install any extensions that you are using: http://www.php.net/downloads.php
  2. download a copy of Drupal if you don't already have one locally
  3. download all the common contrib modules you use like token, views, cck, etc into a modules folder

File Mapping (applies to: Komodo IDE X)

  1. komodo menu: edit->preferences->file associations
  2. in patterns dialog box, enter *.install and set the language to php
  3. add any others that might be missing

PHP Configuration - Code Intelligence (applies to: Komodo IDE X)

  1. komodo menu: edit->preferences->languages->php
  2. find default php interpreter and php.ini file
  3. in php directories add the directory where the drupal root is installed
  4. in php directories add the directory where the drupal contrib modules are (if they are not within the drupal install directory)

NOTE:Keep in mind that it will take time for Komodos
Code Intelligence process to digest all this code for the first time. Watch the
notifications field at the top of the UI. It will show you what percentage of
the scan has completed. You can continue to work with the IDE while it
scans but you won't get code hinting or code suggestions until it's completed
the scan.

Javascript Configuration (applies to: Komodo IDE X)

  1. komodo menu: edit->preferences->code intelligence: check jquery (or another library you wish to include)
  2. you might uncheck some apis you aren't using.

Drupal extension (applies to: Komodo IDE 5.2)

*NEEDS NEW MAINTAINER*
This is useful for autocomplete of node, user etc properties and methods and as a templated start for new modules. Full documentation is at:
http://community.activestate.com/xpi/drupal-extension-komodo

  1. komodo menu: tools->add ons
  2. search for drupal and hit "add to komodo ide" button. follow directions to finish installing.
  3. you might disable some extensions and plugins you aren't using while in the dialog box.
  4. restart komodo
  5. komodo menu: edit->preferences->code intelligence: check drupalnode

Configuring Remote & Local Debugging (applies to: Komodo IDE X)

Follow the Komodo PHP debugging docs to get started with Local or Remote debugging.

This video should still be valid for Komodo X.

Tool Box Snippets

Some generic Abbreviations for drupal in http://drupal.org/project/drupalforkomodo.
Note that the that the commands to trigger the snippets are wrong for Komodo X. If you don't have success with the developer of the snippets to get it updated, ask the Komodo community.
They will get you sorted. If someone wants to take up the torch on those snippets
they should move it to the Komodo packages repo so Komodo users can install it from the Komodo UI using Commando.

Help improve this page

Page status: Deprecated

You can: