Understanding the PeopleCode Editor

The PeopleCode Editor works much like any other text editor, but has capabilities specifically geared toward the PeopleTools environment. Some of its features include:

  • Editing functions are integrated with the menus and toolbar of Application Designer and are also accessible from a pop-up window.

  • It checks, formats, and saves all programs associated with Application Designer definitions simultaneously when any definition is saved.

  • It includes a Validate Syntax command for checking and formatting a single PeopleCode program without saving.

  • It supports standard Microsoft Windows drag-and-drop editing.

  • It supports color-coding for the different elements of the PeopleCode language.

  • It supports word wrap based on either the size of the editor window or a specific number of characters per line.

  • You can open separate instances of the editor simultaneously, and you can use a drag-and-drop text operation between programs.

  • You can open the definition with which the current set of PeopleCode programs is associated from within the PeopleCode Editor.

  • You can open a field, record, page, file layout, or other definitions from a PeopleCode reference to the field, record, page, or file layout, and so on.

  • You can access PeopleCode programs associated with a field, record, page or file layout, or other definitions from a PeopleCode reference to the field, record, page, or file layout, and so on.

  • You can open a PeopleCode Editor window containing an external function definition from a function declaration or function call.

  • You can press F1 with the cursor in a PeopleCode built-in function, method, meta-SQL, and so on, to open the PeopleSoft help for that item.