The only difference between these two schemes is that any file opened from a folder using the isfs-readonly scheme will be set as read-only in VS Code and thus protected against being changed. To edit code directly in one or more namespaces on one or more servers (local or remote) we recommend creating a workspace definition file (for example XYZ.code-workspace) where you specify one or more root folders that directly access namespaces via the isfs or isfs-readonly URI schemes. You can also define a new server at the start of this sequence by using the '+' button.įor more about nn see the Notes section below.
Install that extension and consult its documentation about its UI and commands for easy setup of connections, plus assistance when editing the JSON definition directly.įor more tips about the rvers object, see the Notes section below. We recommend you define server connections in the rvers object whose structure is defined by the InterSystems Server Manager helper extension. If you are unfamiliar with how settings work and how they are edited, use that link. To be able to use many features you first need to configure the connection to your IRIS/Caché/Ensemble server(s) in your VS Code settings. None of the other steps above are needed again.
Intersystems-community.vscode-objectscript version X.Y.Z-beta.1 activating with proposed APIs available.Īfter a subsequent update of the extension from Marketplace you will only have to download and install the new vscode-objectscript-X.Y.Z-beta.1 VSIX. Verify that the ObjectScript channel of the Output panel reports this:.In the argv.json file that opens, add this line: One way to install a VSIX is to drag it from your download folder and drop it onto the list of extensions in the Extensions view of VS Code.įrom Command Palette choose Preferences: Configure Runtime Arguments. Download the VSIX file (for example vscode-objectscript-1.0.15-beta.1.vsix) and install it.This will be functionally identical to the Marketplace version apart from being able to use proposed APIs. For instance, if you installed 1.0.14, look for 1.0.15-beta.1. Locate the beta immediately above the release you installed from Marketplace.This is necessary because Marketplace does not allow publication of extensions that use proposed APIs. Quick Open of isfs files ( FileSearchProvider).ĭownload and install a beta version from GitHub.Server-side searching across files being accessed using isfs ( TextSearchProvider).The additional features (and the APIs used) are: This extension is able to to take advantage of some VS Code APIs that have not yet been finalized. Go to Extensions view (⌘/Ctrl+Shift+X), use the search string and install it. Member extensions can still be managed individually. Then if you ever need to switch off all of those extensions (for example, in a VS Code workspace on a non-ObjectScript project) simply disable the extension pack at the desired level. When you install an extension pack VS Code installs any of its members that you don't already have. Then to get a set of extensions that collaborate to bring you a great ObjectScript development experience, install the InterSystems ObjectScript Extension Pack. Server Explorer view (ObjectScript: Explorer) with ability to export items to your working folder. or, select ObjectScript: Import and Compile Current File from Command Paletteĭirect access to edit or view server code in the VS Code Explorer via isfs and isfs-readonly FileSystemProviders (e.g.open Command Palette (F1 or ⌘/Ctrl+Shift+P).Intellisense support for commands, system functions, and class members.Įxport of existing server sources into a working folder: InterSystems ObjectScript code highlighting support. This guidance also appears in a later section of this document. InterSystems® ObjectScript language support for Visual Studio Code, from the InterSystems Developer Community. InterSystems ObjectScript extension for VS Code