Robert Barbiaux · Jan 23, 2022 go to post

To get an IRIS session integrated in VSCode terminal, you can add it to settings.json :

  "terminal.integrated.profiles.windows": {
        "IRIS Terminal": {
            "path": [
                "C:\\InterSystems\\IRISHealth\\bin\\irissession.exe"
            ],
            "args": ["<instance name>"],
            "icon": "terminal-cmd"
        }
    }

However, this terminal window will lack the niceties of the ISC Terminal application, such as command history.

Robert Barbiaux · Nov 27, 2021 go to post

Hi Ben,
You can use EnsLib.HL7.Schema ResolveSchemaTypeToDocType() class method to resolve DocType dynamically.
For example, if message is an OREF to an instance of EnsLib.HL7.Message :

s message.DocType = ##class(EnsLib.HL7.Schema).ResolveSchemaTypeToDocType("2.5",message.Name)
Robert Barbiaux · Oct 21, 2021 go to post

Thank you Dmitry, I unfortunately am also quite busy and have no spare time to invest on this nice to have at the moment.
It is certainly possible to use the TextMate grammar as basis to write a lexer class for Rouge.
I'll let you known if I get started on this !