Skip to content

Row Attributes ​

A row attribute is a key : value pair attached to a row.

Rows with status, estimate, priority, due date, and a custom client attribute, each shown as a badgeRows with status, estimate, priority, due date, and a custom client attribute, each shown as a badge

Attributes let you store extra information with a row. A status, a priority, a due date, an estimate. Or your own custom attributes. You can then filter, style, or otherwise act on your outline based on those attribute values.

Context menu ​

Let's create an attribute using the context menu:

  1. Right click on a row to show context menu
  2. Choose Priority > 1 from the menu

Your row now has a @priority : 1 attribute, shown as a badge at the end of the row. Click the badge to change the priority, filter by it, or remove it.

Attributes Editor ​

The Attributes Editor is a more general way to add, edit, or remove attributes.

To open it:

  • Choose Format > Row Attributes…
  • Right-click a row and choose Row Attributes…
  • Press Command-Right with the caret at the end of a row's text (fast)

The Attributes Editor showing a row's priority and due dateThe Attributes Editor showing a row's priority and due date

Once visible, use the filter to select an existing attribute and value.

Few tricks:

  • Use Return to commit the attribute value.
  • Use Command-Return to commit an attribute value, and leave the editor open.
  • Use Command-Delete to delete the selected attribute (or click the trash icon).
  • Type a new attribute name, and select the last "add" option to create a new attribute.
  • Use Escape to close the editor without committing changes.

Commands ​

Commands such as Priority: 1 and Due: Soon set common attributes.

  • Run them from the commands choice box (Shift-Command-P).
  • Give them keybindings in the Commands Explorer.
  • Add them to the toolbar or status bar in the Interface Explorer.
  • In Shortcuts, use the Set Row Attribute, Remove Row Attribute, and Get Row Attributes actions, or the Attributes parameter of Create Row.

Attribute Names ​

Names are plain words like priority or log-date. Stick to letters, digits, and hyphens, start with a letter, and don't start with data-. These names are reserved: id, text, type, created, modified, and indent.

Attribute Settings ​

Bike > Settings > Extensions > Attributes lists the attributes extensions declare, plus any your open documents use. Three checkboxes set how Bike handles each one:

  • Editor: suggest it in the Attributes Editor, even on rows that don't have it.
  • Badge: show Bike's built-in badge. Turn off to hide it, or for custom badges.
  • Log: record changes in the row's log, if the row has one.

Badges ​

Attributes are made visible in the outline through badges. Badges are small labels that follow the row text, like the P1 badge we created above. Click a badge to edit its value, right-click it to remove the attribute. See Row Badges for the details.

See also ​