Developer Components

Developing with Eclipse

Last Revised: 05/28/24

 

The Eclipse Integrated Development Environment (IDE) is an open-source platform that allows developers to write and maintain code in a customizable workspace. Though the IDE is JAVA-based, the Eclipse community has created plug-ins for many programming languages that assist with automatic code-completion, debugging, syntax checks, and more. With customizable views—called perspectives in Eclipse—the developer also has great control over what can be seen at-a-glance.

Basis provides an Eclipse plug-in (BDT) that provides features that are useful for BBj developers such as code syntax checking, code completion for BBj objects, and direct execution of BBj programs from Eclipse.

Excellware has also developed a Dynamo Tools plug-in for Eclipse. This plug-in increases efficiency when using Dynamo Tools. This includes a variety of code completion features for called routine argument lists, methods for Dynamo Tool object, template field names, line labels, direct links to online documentation, etc. Note that the Dynamo Tools plug-in not only supports Dynamo Tools objects, called routines, and template field names, but also does the same for the Dynamo ERP product, as well as your own called routines and data structures stored in the Dynamo Tools data dictionary.

For those new to Eclipse, helpful tutorials can be found at tutorialspoint.com, vogella.com, and, of course, the Eclipse community.

 

Although the layout can be fully customized, here is a typical Eclipse layout using the BDT perspective.

Installation

The version of BBj, Basis Eclipse Plugins, and Dynamo Tools Plugin are very dependent on the Eclipse family installed. Although you can easily install multiple versions of Eclipse on a workstation, it is more difficult to install and configure multiple versions of BBj, running at the same time. Note that these are the only versions of Eclipse that are supported. Automatic upgrading of Eclipse to a newer version is not recommended.

Note that if you have installed an earlier version of the Dynamo Tools plugin, then we recommend removing the plugin and re-installing, versus upgrading.

Eclipse Family Java Version BBj Version BDT Install URL Dynamo Tools Install URL
2022-06 11 or 17 22.XX https://plugins.basis.cloud/composite/22xx https://dl.excellware.com/plugins/22
2024-03 21 24.01+ https://plugins.basis.cloud/composite/24xx https://dl.excellware.com/plugins/24
Coding Features
Description Usage

Content Assist

(Ctrl+Shift+Space)

Used for the suggestions and auto-fill features of the plug-in. This feature is contextual so it will only make suggestions that work with what is already entered into the code editor at the cursor position. If nothing is entered on the editor line at the current cursor position—such as at a blank line—a list of all available entries will be presented with this keyboard shortcut. In either case, a search box is also presented to easily find what is needed.

Pressing Ctrl+Shift+Space at: produces:
a blank line in editor

a search box in the Dynamo Tools Helper section where you can search for all available data dictionaries and called routines. Searches can be by name or description.

a partial CD entry in editor

a search box within the editor populated with suggestions. Here, typing the name of the called routines narrows the search results to the name of the function as well as a short description. You can also search by description/keyword of the function to narrow the list of called routines.

a partial dd entry in editor

a search box in the Dynamo Tools Helper section that is populated with suggestions for all available data dictionary entries. Searches can be made by name of data dictionary or description/keyword.

Show Routine Help

(Alt+F1)

Placing the cursor on a called routine and using this shortcut to open Excellware, Inc. a detailed documentation page for that routine in a browser.

 

Examples of Dynamo Tools Plugin Code Completion