Question
· Feb 10, 2023

How to expand commands and functions to their full names programmatically?

It's well-known that Studio and probably VS Code have options to expand ObjectScript commands and functions to their full names (Ctrl-E and Ctrl-Shift-E in Studio), therefore some methods to accomplish this should exist. The question is: how to do it programmatically?

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

@Alexey Maslov  - check out https://openexchange.intersystems.com/package/isc-codetidy .... this package includes automatic expansion of ObjectScript commands.  Even if you don't want to use the whole package, you can find the sample code to do expansion.

@Evan Gabhart  - can you please advise as to the specific class where the expansion code can be found?