VSCode-ObjectScript


Follow
6
Star
9
Details
Version history
Issues

What's new in this version

  • "Debug this ClassMethod" feature added, to quickly debug any classmethod in a class
  • Change variable value while debugging
  • When virtual filesystem isfs:// used, now possible to execute some actions from Studio Source class menu
  • Explorer view, new way of generation, should be faster now
  • Explorer view, INC files now separate in own Includes folder
  • Explorer view, option to show/hide generated items
  • Explorer view will be shown only when any folder open
  • When used docker-compose to run instance, it's now possible to get connected to a random port from service.
  • When used docker-compose it's now very easy to connect to terminal
  • Go to routine
  • Show warning for deprecated functions, quick fix for $zobj<xxx> functions replaced
VSCode extension for InterSystems products

Known Vulnerabilities Gitter

vscode-objectscript

InterSystems ObjectScript language support for Visual Studio Code.

CaretDev provides commercial support services. Request a Quote.

Features

  • InterSystems ObjectScript code highlighting support. example
  • Debugging ObjectScript code
  • Intellisense support for commands, system functions, class members
  • Export existing sources to the working directory: press Cmd/Ctrl+Shift+P, type 'ObjectScript', press Enter.
  • Save and compile a class: press Ctrl+F7 (⌘+F7) or select "ObjectScript: Save and compile" from Cmd/Ctrl+Shift+P menu.
  • Server Explorer with possibility to export itemsServerExplorer
  • Edit directly on server

Installation

Install Visual Studio Code first.

Open VSCode. Go to extensions and search for "ObjectScript" like it is shown on the attached screenshot and install it. Or install from ObjectScript extension page on Visual Studio Marketplace installation

Configure connection

To be able to use many plugin features, you need to configure the connection to Caché server first. You can create or edit existing .vscode/settings.json file. So, your settings file may somethiing like this.

"objectscript.conn": {
  "active": true,
  "label": "LOCAL",
  "host": "127.0.0.1",
  "port": 52773,
  "username": "user",
  "password": "password",
  "ns": "USER",
  "https": false
}

Or you can edit it through settings editor. Which you can open from menu Code > Preferences > Settings for macOS or File > Preferences > Settings for Windows, search for "workspace settings" through Command Palette [⌘⇧P/Ctrl+Shift+P] or by shortcut [⌘,/Ctrl+,].

  • Find a 'objectscript', do not forget to set active to true port should follow to web port of instance (usually by default, 52773 for Caché/Ensemble, 52773 for IRIS) Settings UI
  • Change settings according to your Caché/IRIS instance
  • You will see related output in "Output" while switched to "ObjectScript" channel (right drop-down menu on top of the output window)

Notes

For Caché/IRIS instance with maximum security level, add '%Development' role for '/api/atelier/' web-application ( More )

Category
Developer Environment
Works with
CachéEnsembleHealth ConnectHealthShareInterSystems IRIS
Tags
Info
Publisher
CaretDev
Version
0.8.0
Last updated
2020-01-17
Repository
Open
License
Link