A timestamp (in milliseconds since 1 January 1970 00:00:00) for when the timeline item occurred
Optional
accessibilityAccessibility information used when screen reader interacts with this timeline item.
Optional
commandThe command that should be executed when the timeline item is selected.
Optional
contextContext value of the timeline item. This can be used to contribute specific actions to the item.
For example, a timeline item is given a context value as commit
. When contributing actions to timeline/item/context
using menus
extension point, you can specify context value for key timelineItem
in when
expression like timelineItem == commit
.
"contributes": {
"menus": {
"timeline/item/context": [{
"command": "extension.copyCommitId",
"when": "timelineItem == commit"
}]
}
}
This will show the extension.copyCommitId
action only for items where contextValue
is commit
.
Optional
descriptionA human readable string describing less prominent details of the timeline item.
Optional
detailThe tooltip text when you hover over the timeline item.
Optional
iconThe icon path or ThemeIcon for the timeline item.
Optional
idOptional id for the timeline item. It must be unique across all the timeline items provided by this source.
If not provided, an id is generated using the timeline item's timestamp.
A human-readable string describing the timeline item.
A timestamp (in milliseconds since 1 January 1970 00:00:00) for when the timeline item occurred.
A human-readable string describing the timeline item