Skip to content

Test Consider API for changing tree view title dynamically #81635

@alexr00

Description

@alexr00

refs: #80208

Complexity: 3

Test the proposed title TreeView API:

	export interface TreeView<T> {
		/**
		 * The name of the tree view. It is set from the extension package.json and can be changed later.
		 */
		title?: string;
	}

The tree view sample extension is a good place to start: https://github.com/microsoft/vscode-extension-samples/blob/master/tree-view-sample/src/testView.ts#L6

  • Verify that the inline documentation makes sense.
  • Verify that the title of the tree view is correctly sourced from the package.json first
  • Verify that you can get the title as set in the package.json even if you never set it.
  • Test that you can always get the title.
  • Test that you can change the title

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions