The Code Editor toolbar contains tools for managing the script code of the currently opened script unit:
The toolbar provides useful capabilities for editing and using script code:
Item | Description |
---|---|
Runs the current routine. | |
Increases the indent of the current line or selected block of script code. | |
Decreases the indent of the current line or selected block of script code. | |
Comments the selected text by inserting comment marks specific to the used scripting language at the beginning of each selected line. | |
Uncomments selected lines of code. | |
Collapses blocks of code. See Outlining. | |
Expands blocks of code. See Outlining. | |
Switches to the previous locations of the insertion point. | |
Switches to the more recent locations of the insertion point. | |
Routine_Name | You can go to the declaration of any script routine within the current script unit by selecting its name from the list. In Python scripts, you can also go to the declaration of classes and their methods. See Code Navigation. |
Creates a checkpoint. | |
Opens the Generate Run Code for CrossBrowserTesting dialog where you can connect to CrossBrowserTesting.com and generate a code to run a mobile or desktop browser in its device lab. | |
Provides access to the Code Editor options. |