From fbf81bdd1bbdc2ca90856ddfd641c59e52e641be Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Tue, 1 Sep 2020 13:36:13 -0700 Subject: [PATCH] Expand docs on visibility change For #105873 --- src/vs/vscode.proposed.d.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/vs/vscode.proposed.d.ts b/src/vs/vscode.proposed.d.ts index 9c66a28d310..fdcd9f98e13 100644 --- a/src/vs/vscode.proposed.d.ts +++ b/src/vs/vscode.proposed.d.ts @@ -2076,7 +2076,14 @@ declare module 'vscode' { readonly visible: boolean; /** - * Event fired when the visibility of the view changes + * Event fired when the visibility of the view changes. + * + * Actions that trigger a visibility change: + * + * - The view is collapsed or expanded. + * - The user switches to a different view group in the sidebar or panel. + * + * Note that hiding a view using the context menu instead disposes of the view and fires `onDidDispose`. */ readonly onDidChangeVisibility: Event; }