Skip to content

Commit eb5e186

Browse files
Update docs/ExtensionUI.md
Co-authored-by: John Murray <[email protected]>
1 parent 69172b8 commit eb5e186

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/ExtensionUI.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,13 @@ The ObjectScript view provides the following items:
117117
The InterSystems IRIS documentation section [Extending Studio](https://docs.intersystems.com/irislatest/csp/docbook/Doc.View.cls?KEY=ASC#ASC_Hooks_extending_studio ) describes how to configure menus for source code control and other purposes. Entries from menus named **%SourceMenu** and **%SourceContext** appear in the **Server Source Control...** quickpick provided the source control class doesn't disable the entry, for example, disabling checkout if it knows that the file is already checked out.
118118

119119
Entries from menus with any other name appear in the **Server Command Menu...**.
120+
121+
## Views and View Containers
122+
123+
Technically the 'InterSystems Tools' and 'Explorer' entities described above are what VS Code calls [view containers](https://code.visualstudio.com/api/extension-capabilities/extending-workbench#view-container). Each contains a single view:
124+
- in container **InterSystems Tools** is view **Servers**
125+
- in container **ObjectScript** is view **Explorer**
126+
127+
When a VS Code container has only a single view in it the view header merges with the container header, with the two names separated by a colon.
128+
129+
Views can be dragged between containers, so for example you could move Explorer off its ObjectScript container and onto the InterSystems Tools container. Or move Servers onto the ObjectScript container. Or move either of them onto VS Code's main Explorer container.

0 commit comments

Comments
 (0)