提交 3b4cdbce 编写于 作者: S Sandeep Somavarapu

code review comments

上级 7e23ca4a
......@@ -4963,19 +4963,22 @@ declare module 'vscode' {
export class TreeItem {
/**
* A human-readable string describing this item. When `falsy`, it is derived from [resourceUri](#TreeItem.resourceUri).
* A human-readable string describing this item. When `falsy`, it is derived from [uri](#TreeItem.uri).
*/
label?: string;
/**
* The icon path for the tree item. When `falsy`, it is derived from [resourceUri](#TreeItem.resourceUri).
* The icon path for the tree item. When `falsy`, it is derived from [uri](#TreeItem.uri).
*/
iconPath?: string | Uri | { light: string | Uri; dark: string | Uri };
/**
* The [uri](#Uri) of the resource representing this item.
*
* Will be used to derive the [label](#TreeItem.label), when it is not provided.
* Will be used to derive the icon from current file icon theme, when [iconPath](#TreeItem.iconPath) is not provided.
*/
resourceUri?: Uri;
uri?: Uri;
/**
* The [command](#Command) which should be run when the tree item is selected.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册