Question
· Feb 5

"import and compile" does not appear in VSCode

Hi all,

I'm very new to this ecosystem so please bear with me:

I've startted learning online and have installed everything I need. I have VS code and I have most definitely installed the pack (3 packages) needed for working on it with ObjectScript. Even though this is the case I'm running into 2 problems:

1. when I type "class" I only get 4 option for auto complete. no "class with multiple inheritances" or anything of the sort. In fact, no Class at all, only ClassMethod. ClassResponse etc.

 

2. It says in the docs to right click on a class and hit "Import and compile" but such an option doesn't exist for me. I'm stuck and cannot move forward with my training, mostly for this reason. 

Please help. 

Product version: IRIS 2023.3
Discussion (3)2
Log in or sign up to continue

@Alex Baumberg are you running IRIS on a Docker container or is it installed locally on your machine?  Check out this section: https://intersystems-community.github.io/vscode-objectscript/configurati...

Either way the setup should be quite the same.  Can someone confirm for client-side editing if the local source code folder needs a bind-mount to the Docker container and to to where it should be mapped? 

You might try using this to get started as another option: https://github.com/intersystems-community/objectscript-docker-template

For what it's worth, I'm a few years into this and I'm still constantly confused :)