Skip to content
Add Caché ObjectScript support for vscode
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update FUNDING.yml Jul 4, 2019
.vscode
api some small fixes Jun 12, 2019
commands
explorer export from another namespace with confirmation, #41 Jul 2, 2019
images updated readme, installation section Mar 5, 2019
providers some fixes in virtual fs mode Jul 10, 2019
snippets class snippets Feb 1, 2019
syntaxes solve xdata hihghlighting issue, closes #40 Jul 5, 2019
test switched to tslint:recommended Jun 10, 2019
utils switched to tslint:recommended Jun 10, 2019
.artifactignore azure pipeline update Jul 4, 2019
.editorconfig convert to typescript Jul 15, 2018
.gitignore many improvements May 31, 2019
.jshintrc update some deps, remove old docs Feb 14, 2018
.npmrc some little changes Dec 16, 2018
.snyk fix: .snyk, package.json & package-lock.json to reduce vulnerabilities Jul 5, 2019
CHANGELOG.md some small fixes Jun 12, 2019
LICENSE author change Dec 15, 2018
README.md azure pipeline update Jul 4, 2019
build.yml azure pipeline update Jul 4, 2019
extension.ts
language-configuration-class.jsonc
language-configuration.json some small fixes Feb 4, 2019
package-lock.json
package.json fix: .snyk, package.json & package-lock.json to reduce vulnerabilities Jul 5, 2019
test.cls prepare for publish in marketplace Feb 8, 2017
tsconfig.base.json just clean code from unused variables Jan 26, 2019
tsconfig.json Update main.workflow Feb 12, 2019
tslint.json switched to tslint:recommended Jun 10, 2019

README.md

Build Status 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 )

You can’t perform that action at this time.