提交 2d74e461 编写于 作者: S Sandeep Somavarapu

#26948 Provide none collapsible state

上级 7ad4a225
......@@ -71,7 +71,6 @@ declare module 'vscode' {
/**
* Collapsible state of the tree item.
* Required only when item has children.
*/
readonly collapsibleState?: TreeItemCollapsibleState;
}
......@@ -80,6 +79,10 @@ declare module 'vscode' {
* Collapsible state of the tree item
*/
export enum TreeItemCollapsibleState {
/**
* Determines an item can be neither collapsed nor expanded. Implies it has no children.
*/
None = 0,
/**
* Determines an item is collapsed
*/
......
......@@ -21,6 +21,7 @@ export class ViewLocation {
}
export enum TreeItemCollapsibleState {
None = 0,
Collapsed = 1,
Expanded = 2
}
......@@ -48,7 +49,7 @@ export interface IViewDescriptor {
readonly ctor: IViewConstructorSignature;
readonly order?: number;
}
export interface ITreeItem {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册