The Sidebars page includes example code that mentions a contextCommands
property. It is suggested that the property may be defined in the extension.json
file to add options to TreeItem
s’ context menus. Later in the document, among a list of fields, contextualCommands
is mentioned instead. This is confusing; it’s hard to tell which of the two is to be used.