File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
src/vs/workbench/api/browser Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,18 @@ type ViewExtensionPointType = { [loc: string]: IUserFriendlyViewDescriptor[] };
251
251
const viewsExtensionPoint : IExtensionPoint < ViewExtensionPointType > = ExtensionsRegistry . registerExtensionPoint < ViewExtensionPointType > ( {
252
252
extensionPoint : 'views' ,
253
253
deps : [ viewsContainersExtensionPoint ] ,
254
- jsonSchema : viewsContribution
254
+ jsonSchema : viewsContribution ,
255
+ activationEventsGenerator : ( viewExtensionPointTypeArray , result ) => {
256
+ for ( const viewExtensionPointType of viewExtensionPointTypeArray ) {
257
+ for ( const viewDescriptors of Object . values ( viewExtensionPointType ) ) {
258
+ for ( const viewDescriptor of viewDescriptors ) {
259
+ if ( viewDescriptor . id ) {
260
+ result . push ( `onView:${ viewDescriptor . id } ` ) ;
261
+ }
262
+ }
263
+ }
264
+ }
265
+ }
255
266
} ) ;
256
267
257
268
const CUSTOM_VIEWS_START_ORDER = 7 ;
You can’t perform that action at this time.
0 commit comments