Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing onDidChangeSelection-like event #50662

Closed
jrieken opened this issue May 29, 2018 · 1 comment
Closed

Missing onDidChangeSelection-like event #50662

jrieken opened this issue May 29, 2018 · 1 comment
Assignees
Labels
api feature-request Request for new features or functionality on-testplan tree-views Extension tree view issues
Milestone

Comments

@jrieken
Copy link
Member

jrieken commented May 29, 2018

re #50580

Maybe slight off topic but given that there are events for collapse/expand and the selection-property I think the selection change event is missing (and it feels incomplete/unfinished)

@sandy081
Copy link
Member

Tree view has now onDidChangeSelection event with following object

/**
 * The event that is fired when there is a change in [tree view's selection](#TreeView.selection)
 */
export interface TreeViewSelectionChangeEvent<T> {

	/**
	 * Selected elements.
	 */
	readonly selection: T[];

}

@vscodebot vscodebot bot locked and limited conversation to collaborators Aug 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api feature-request Request for new features or functionality on-testplan tree-views Extension tree view issues
Projects
None yet
Development

No branches or pull requests

2 participants