You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: localize('vscode.extension.contributes.view.contextualTitle',"Human-readable context for when the view is moved out of its original location. By default, the view's container name will be used. Will be shown"),
113
120
type: 'string'
114
121
},
122
+
visibility: {
123
+
description: localize('vscode.extension.contributes.view.initialState',"Initial state of the view when the extension is first installed. Once the user has changed the view state by collapsing, moving, or hiding the view, the initial state will not be used again."),
124
+
type: 'string',
125
+
enum: [
126
+
'visible',
127
+
'hidden',
128
+
'collapsed'
129
+
],
130
+
enumDescriptions: [
131
+
localize('vscode.extension.contributes.view.initialState.visible',"The default initial state for view. The view will be expanded. This may have different behavior when the view container that the view is in is built in."),
132
+
localize('vscode.extension.contributes.view.initialState.hidden',"The view will not be shown in the view container, but will be discoverable through the views menu and other view entry points and can be un-hidden by the user."),
133
+
localize('vscode.extension.contributes.view.initialState.collapsed',"The view will show in the view container, but will be collapsed.")
134
+
]
135
+
}
115
136
}
116
137
};
117
138
@@ -419,6 +440,7 @@ class ViewsExtensionHandler implements IWorkbenchContribution {
0 commit comments