- Node.js 12.x
- Windows, macOS, or Linux
- Visual Studio Code
- The following VS Code extensions:
git clone https://github.com/intersystems-community/vscode-objectscript
cd vscode-objectscript
npm install
TypeScript errors and warnings will be displayed in the PROBLEMS
panel of Visual Studio Code.
Code snippets are defined in files in the /snippets/ folder:
- objectscript-class.json - snippets for class definition context
- objectscript.json - snippets for objectscript context
Snippets syntax is described here.
To test changes, open the vscode-objectscript
folder in VSCode.
Then, open the debug panel by clicking the Run and Debug
icon on the Activity Bar, select the Launch Extension
option from the top menu, and click start. A new window will launch with the title
[Extension Development Host]
. Do your testing here.
If you want to disable all other extensions when testing in the Extension Development Host, choose the Launch Extension Alone
option instead.
Work should be done on a unique branch -- not the master branch. Pull requests require the approval of two PMC members, as described in the Governance document. PMC review is often high level, so in addition to that, you should request a review by someone familiar with the technical details of your particular pull request.
We do expect CI to be passing for a pull request before we will consider merging it. CI executed by pull requests will produce a vsix
file, which can be downloaded and installed manually to test proposed functionality.
Any change to master
branch will call CI, which will produce beta release, which can be manually installed.
Steps to build the extension on your machine once you've cloned the repo:
> npm install -g vsce
# Perform the next steps in the vscode-objectscript folder.
> npm install
> npm run package
Resulting in a vscode-objectscript-$VERSION.vsix
file in your vscode-objectscript
folder.