Content Type
Video
Duration
6m
Level
Intermediate
Learn how to configure VS Code with the InterSystems ObjectScript Extension Pack to support multiple server connections. Review workspace configuration basics, decide which configuration you need for your systems, and then follow along with instructions for single-folder and multi-root workspaces.
Learn about how and when to use each of the two configurations described in the details below.
- Use a multi-root workspace and virtual folders to view code and perform server-side editing across multiple InterSystems IRIS® data platform namespaces or servers.
On the left, two InterSystems servers are depicted, each containing two namespaces. Stacked between the servers is a server labeled App Server. On the right, a single VS Code instance is depicted with a folder structure inside. The folder structure in the VS Code instance contains five folders. Each folder connects to one namespace on the left or to the App Server, representing an active connection. A pencil icon is located next to each namespace and the app server, indicating that code editing takes place on the server side. - Use multiple VS Code workspaces—each with a unique active connection—to view code and do client-side code editing for multiple namespaces or servers. It is also possible to enable server-side editing in single-folder workspaces.
On the left, two InterSystems servers are depicted, each containing two namespaces, making a total of four namespaces across the two servers. On the right, four VS Code instances are depicted. Each VS Code instance connects to one of the namespaces on the left, representing an active connection. A pencil icon is located within each VS Code instance, since code editing takes place on the client side.