Skip to content

Commit a53add7

Browse files
authored
Merge pull request #7589 from muzimuzhi/markup/when-clause-contexts
Typo, add missing inline code markup
2 parents 215e565 + 2adf08d commit a53add7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

api/references/when-clause-contexts.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,10 @@ Context name | True when
257257

258258
You can have a when clause that checks if a specific [View](/api/ux-guidelines/views) is visible or focused.
259259

260-
Context name | True when
261-
------------ | ------------
260+
Context name | True when
261+
------------- | ----------
262262
`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'"`
264264

265265
View identifiers:
266266

@@ -288,11 +288,11 @@ View identifiers:
288288

289289
You can have a when clause that checks if a specific [View Container](/api/ux-guidelines/views#view-containers) is visible
290290

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'"`
296296

297297
View container identifiers:
298298

0 commit comments

Comments
 (0)