Page Designer Code Editor

Learn about using the Code Editor in Page Designer.

For attributes requiring large amounts of code (for example, a region Source), you can enter text directly into the field or access a full-featured Code Editor.

Description of the illustration pd_prop_editor3.png

See Also: Accessing Property Editor

You access Code Editor by clicking the Code Editor:SQL Query button, which resembles an arrow within a square.

Code Editor Key Features

Note: If you have configured Generative AI for your workspace, APEX includes integrated AI Chat capability (called APEX Assistant) in all all Code Editors. To learn more, see Managing Generative AI in APEX.

The Code Editor displays as a modal dialog and provides an enhanced code editor to edit PL/SQL, SQL, HTML, CSS, and JavaScript component properties. The code highlighting is determined by the input required for the specific property.

Description of the illustration pd_code_editor.png

Code Editor controls include:

Command Palette

Right-click to display a context menu and select Command Palette. The Command Palette includes over 80 commands including:

Multi Cursor Selection

Save and Run Page Save and Run Page

Click Save and Run Page to save and view a rendered version of the current page without having to close the Code Editor dialog.

Settings Menu Settings Menu

The Settings menu displays on the right side and includes the following options: