Skip to content
This repository has been archived by the owner on Jun 12, 2019. It is now read-only.

daimor/vscode-objectscript-fork

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Known Vulnerabilities Gitter Liberpay

vscode-objectscript

InterSystems ObjectScript language support for Visual Studio Code

Features

  • Initial InterSystems ObjectScript code highlighting support. example
  • Export existing sources to the working directory: press Ctrl+Shift+P, type 'ObjectScript', press Enter.
  • Save and compile a class: press Ctrl+F7 (⌘+F7) or select "ObjectScript: Save and compile" from Ctrl+Shift+P menu.
  • Server Explorer with possibility to export itemsServerExplorer

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.

  • Find a 'objectscript.conn' section in workspace settings (File - Preferences - Settings), do not forget to set active to true port should follow to web port of instance (usually by default, 57772 for Caché/Ensemble, 52773 for IRIS)
    "objectscript.conn": {
      "active": true,
      "label": "LOCAL",
      "host": "127.0.0.1",
      "port": 52773,
      "username": "user",
      "password": "password",
      "ns": "USER",
      "https": false
    }
  • 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 )