Before you start
This tutorial shows how Eclipse's Dynamic Languages Toolkit (DLTK) makes it possible to build development tools for scripting languages. In particular, it explains how to implement syntax coloring, user preferences, and interpreter integration in a plug-in-based project.
This tutorial explains—one step at a time—how to build a DLTK-based development environment. The discussion presents DLTK by focusing on a practical plug-in project based on the Octave numerical computation language. The topics covered include:
- Creating a plug-in project
- Configuring the editor and Eclipse DLTK text tools
- Adding classes to control syntax coloring in the text editor
- Enabling user preferences
- Integrating the script interpreter into the development environment
- Adding a custom console to communicate between the workbench and the interpreter
This tutorial is written for Java™ developers familiar with Eclipse and interested in building tools for dynamic languages, such as PHP, Tcl, Ruby, and Python. It assumes that you have a basic understanding of plug-ins and Eclipse-based development tools in general.
To build the example project in this tutorial, you need a computer with an Eclipse installation (the examples in this tutorial use version 3.7 or later) and a current JRE. You must install a recent version of the DLTK, which we describe in the section "Install the DLTK." (See Resources for links to download Eclipse.)


