Skip to content

Home

Development

IDEs

API Explorer

Releases

Release notes

Martini Runtime

Martini Desktop

Martini Online

Feature requests

Bug reports

Editing a tag step

A tag step has special properties, which can all be configured using the Properties view, keyboard shortcuts, context menu, and content assist.

Editing a tag step's content

To edit a tag step's content using the context menu:

Editing a tag step's content using the context menu

Editing a tag step's content using the context menu

  1. Right click the tag step from the step tree.
  2. Select Edit Content from the appearing context menu.
  3. A text field will appear in the step's place. Provide the content you want for your tag step in this field, and press to finalize.
  4. If your element contains newline characters, click the button or press . This will open a dialog with a text area where you can enter the content. To finalize, click the OK button, or press .

You can also trigger the content text field to appear by selecting the tag step from the step tree, and then pressing .

You can also edit a tag step's content through the Properties view. To do this:

Editing a tag step's content using the Properties view

Editing a tag step's content using the Properties view

  1. Select the tag step.
  2. Go to the General tab of the Properties view. If the Properties view is not visible, press to open it.
  3. Provide the content for your tag step through the Content property's Value column. Press to finalize.
  4. If your element contains newline characters, click the button or press . This will open a dialog with a text area where you can enter the content. To finalize, click the button, or press .
  5. Set Evaluate Content to true if you want to evaluate your content as a Groovy expression.

Editing a tag step's name

There are two ways you can edit a tag step's name: using the context menu, or the keyboard shortcut . Both methods are fairly similar.

To edit a tag step's name using the context menu:

Editing a tag step's name using the context menu

Editing a tag step's name using the context menu

  1. Right click the tag step from the step tree.
  2. Select Edit Content from the appearing context menu.
  3. A text field will appear in the step's place. Provide the name for your tag step in this field, and press to finalize. You can also press to trigger content assist while editing the name. There, you'll have the option to select the type of HTML element to use for your step.

You can also trigger the name text field to appear by selecting the tag step, and then pressing .

Editing a tag step's attributes

The most intuitive way to edit a tag step's attributes is through the Properties view. To do this:

Adding a tag step attribute using the Properties view

Adding a tag step attribute using the Properties view

  1. Select the tag step.
  2. Go to the Attributes tab of the Properties view. If the Properties view is not visible, press to open it.
  3. From here, you can:

    • Click the green '+'-labeled button if you want to add a new attribute; or
    • Double click columns of any existing attribute to edit.

    When you're done providing a value, press to finalize. Use the and arrow keys to move up or down the list of attributes.

You can also use content assist in order to edit attributes. To do this:

Adding a tag step attribute using content assist

Adding a tag step attribute using content assist

  1. Select a tag.
  2. Press the key to trigger content assist.
  3. In the appearing text field, type the name of the attribute you want to add or edit. By typing a name, the list of proposals will be filtered. Attribute proposals have a tag icon with a @ symbol overlay.
  4. Select an attribute proposal and press enter.
  5. If the selected attribute has some specific values they will be proposed as well, selected one, or Edit value, then press .
  6. If you chose to edit the value a text field will appear, enter the value and press to apply.

See tag attribute proposals

The content assist pop-up displays a lot of proposals. To help you navigate faster, these proposals are organized by category. You can press repeatedly until you reach the tag attribute category.

See all tag attribute proposals