@@ -257,10 +257,10 @@ Context name | True when
257
257
258
258
You can have a when clause that checks if a specific [ View] ( /api/ux-guidelines/views ) is visible or focused.
259
259
260
- Context name | True when
261
- ------------ | -- ----------
260
+ Context name | True when
261
+ ------------- | ----------
262
262
` view.${viewId}.visible ` | True when specific view is visible.<br >Example: ` "view.workbench.explorer.fileView.visible" `
263
- focusedView | True when specific view is focused.<br >Example: ` "focusedView == 'workbench.explorer.fileView'" `
263
+ ` focusedView ` | True when specific view is focused.<br >Example: ` "focusedView == 'workbench.explorer.fileView'" `
264
264
265
265
View identifiers:
266
266
@@ -288,11 +288,11 @@ View identifiers:
288
288
289
289
You can have a when clause that checks if a specific [ View Container] ( /api/ux-guidelines/views#view-containers ) is visible
290
290
291
- Context key | True when
292
- --------------- | -- ----------
293
- activeViewlet | True when view container is visible in the sidebar.<br >Example: ` "activeViewlet == 'workbench.view.explorer'" `
294
- activePanel | True when view container is visible in the panel.<br >Example: ` "activePanel == 'workbench.panel.output'" `
295
- activeAuxiliary | True when view container is visible in the secondary sidebar.<br >Example: ` "activeAuxiliary == 'workbench.view.debug'" `
291
+ Context name | True when
292
+ ----------------- | ----------
293
+ ` activeViewlet ` | True when view container is visible in the sidebar.<br >Example: ` "activeViewlet == 'workbench.view.explorer'" `
294
+ ` activePanel ` | True when view container is visible in the panel.<br >Example: ` "activePanel == 'workbench.panel.output'" `
295
+ ` activeAuxiliary ` | True when view container is visible in the secondary sidebar.<br >Example: ` "activeAuxiliary == 'workbench.view.debug'" `
296
296
297
297
View container identifiers:
298
298
0 commit comments