Code Rocket for Eclipse - Getting Started

Thank you for your interest in Code Rocket for Eclipse. Code Rocket for Eclipse brings our detailed pseudocode and flowchart design support to Eclipse. Pseudocode and flowchart is available on demand for any method which can be edited, with code automatically generated.

This guide will walk through the basic operation of Code Rocket for Eclipse.

If you have not already installed Code Rocket for Eclipse, please follow the instructions here.

Designing a method with pseudocode and flowchart

  1. Create a new Java project in Eclipse (the same applies to C/C++ with different syntax).

  2. Place your cursor in a blank method.

  3. Select the Show View/Other from the View menu.

    The Show View menu.

  4. Select both Pseudocode Editor and Flowchart Editor and click OK.

    Selecting the Pseudocode Editor and Flowchart Editor components.

  5. The pseudocode and flowchart editor's will become visible and you can position them according to your own preferences.

    Pseudocode Editor and Flowchart Editor views.

  6. Enter the following pseudocode.

    Pseudocode Editor with pseudocode

  7. Press the commit button and confirm that you would like to update the method's code.

    Pseudocode commit button

  8. The method will be populated with skeleton code that is ready to be implemented.

    Generated code

  9. Move your cursor into the code editor and see the associated symbol highlighted in the flowchart.

    Selection in Flowchart Editor

  10. Implement the following code and watch the flowchart updating.

    Implementing code

  11. The flowchart symbols turn green when they have code associated with them.

    Flowchart with code

  12. You can make further edits to the flowchart by dragging and dropping or double-clicking symbols.

    Dragging and dropping in Flowchart Editor

  13. Press the commit button and confirm that you would like to update the method's code.

    Flowchart commit button