Skip to content

Code Explorer Context Menu

The Code Explorer supports the following context menu options:

Locate In Editor

Activates the Code Editor and positions the cursor on the line of code where the selected code element is declared.

Properties

If an object or class declaration item is selected, this option activates the Properties Panel and displays the properties and events of that object or class.

Bookmark in Editor

Adds bookmarks in the Code Editor where the selected element is declared. If the declaration spans multiple lines, one bookmark is placed at the beginning and another at the end of the declaration.

Highlight in Editor

Highlights the selected item in the Code Editor and gives the Code Editor focus. This operation is useful for deleting or moving the code associated with an item in the Code Explorer.

Open

If a Use statement or #Include statement element is selected, this option will attempt to open the referenced file.

Precompile Package

Precompiles the selected use statement package. This option is only available if the used package is the first one in the file and the package belongs to one of the current workspace's "local" source folders.

Web Property

If a property declaration belongs to a cWebObject subclass or web object declaration, this option toggles whether the property is a Web Property or not.

Published

If a method declaration element belonging to a Web Service Object or a Web Browser Object is selected, this option toggles the method's published state.

Copy

Copies the selected element's code to the clipboard.

Move Object Up

If an object declaration is selected, this option will attempt to move the declaration above the previous sibling object declaration.

Move Object Down

If an object declaration is selected, this option will attempt to move the declaration below the next sibling object declaration.

Configure Code Explorer

Activates the Configure Studio dialog with the Code Explorer tab in front.

See Also