Using the Code Blocks view
Learn how to use the Code Blocks view to organize and identify code blocks.
The Code Blocks view provides a list of sliced code blocks when the workbook editor is the active
editor.

Organizing code blocks
You can use the Code Blocks view to arrange the order of the code blocks within a service file.
To rearrange the order of the blocks within a service file, complete the following steps:
- Select a code block in the Code Blocks view.
- Drag the selected code block to the desired location within the list of available code blocks. The selected block will be moved within the service file.
Identifying code blocks within the Code Blocks view
You can use tooltips to help identify code blocks within the Code Blocks view. When you mouse
hovers over a listed code block, you can see a tooltip that contains a source code snippet and any
tags that are associated with the code block.

Tagging code blocks
You can use tags to help you identify code blocks. To add tags to a code block, complete the
following steps:
- Click the Action Menu icon (
) to the right of a code block within the Code Blocks view. - Select Add tags from the context menu.
- In the “Add tags” dialog, enter a comma or space delimited set of tags and press Enter. The tags
are added to the code block. Note: If the list of tags does not fit within the view’s width, a +n tag is displayed. Hover your mouse over the tag to display the full list of tags.
Removing tags
You can remove tags if you no longer need them. To remove code block tags, complete the following
steps:
- Click the Action Menu icon (
) to the right of a code block within the Code Blocks view. - Select Remove tags from the context menu.
- In the “Select tags to delete” dialog, select the tags to be deleted and click OK. The tags are removed from the code block.
Deleting code blocks
You can delete code blocks from the Code Blocks view. To delete a code block, complete the
following steps:
- Click the Action Menu icon (
) to the right of a code block within the Code Blocks view. - Select Delete from the context menu.
- When prompted, verify that you wish to delete the code block.