vscode#TreeView TypeScript Examples

The following examples show how to use vscode#TreeView. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: NinjaTreeView.ts    From al-objid with MIT License 6 votes vote down vote up
private createTreeView(): TreeView<Node> {
        const view = window.createTreeView(this._id, {
            showCollapseAll: false, // Until there is showExpandAll, we have to use ExpandCollapsecontroller for this
            canSelectMany: false,
            treeDataProvider: this,
        });
        view.onDidCollapseElement(e => this._expandCollapseController.collapse(e.element));
        view.onDidExpandElement(e => this._expandCollapseController.expand(e.element));
        return view;
    }
Example #2
Source File: NativeTreeView.ts    From dendron with GNU Affero General Public License v3.0 5 votes vote down vote up
private treeView: TreeView<NoteProps> | undefined;
Example #3
Source File: JoplinNoteCommandService.ts    From joplin-utils with MIT License 5 votes vote down vote up
constructor(
    private config: {
      noteViewProvider: NoteExplorerProvider
      noteListTreeView: TreeView<FolderOrNote>
    },
  ) {}
Example #4
Source File: treeViews.ts    From vscode-todo-md with MIT License 5 votes vote down vote up
/**
 * Set tree view title
 */
function setViewTitle(view: TreeView<any>, title: string, counter: number, filterValue = '') {
	view.title = `${title} (${counter}) ${filterValue}`;
}
Example #5
Source File: treeViews.ts    From vscode-todo-md with MIT License 5 votes vote down vote up
tagsView: TreeView<any>
Example #6
Source File: treeViews.ts    From vscode-todo-md with MIT License 5 votes vote down vote up
projectView: TreeView<any>
Example #7
Source File: treeViews.ts    From vscode-todo-md with MIT License 5 votes vote down vote up
contextView: TreeView<any>
Example #8
Source File: treeViews.ts    From vscode-todo-md with MIT License 5 votes vote down vote up
tasksView: TreeView<any>
Example #9
Source File: treeViews.ts    From vscode-todo-md with MIT License 5 votes vote down vote up
dueView: TreeView<any>
Example #10
Source File: treeViews.ts    From vscode-todo-md with MIT License 5 votes vote down vote up
archivedView: TreeView<any>
Example #11
Source File: treeViews.ts    From vscode-todo-md with MIT License 5 votes vote down vote up
generic1View: TreeView<any>
Example #12
Source File: treeViews.ts    From vscode-todo-md with MIT License 5 votes vote down vote up
generic2View: TreeView<any>
Example #13
Source File: treeViews.ts    From vscode-todo-md with MIT License 5 votes vote down vote up
generic3View: TreeView<any>
Example #14
Source File: NinjaTreeView.ts    From al-objid with MIT License 5 votes vote down vote up
private readonly _view: TreeView<Node>;