InterSystems ObjectScript Class ViewThis extension boosts the InterSystems ObjectScript Extension Pack by adding a powerful new way to navigate your class definitions. InstallationThe extension is published on Marketplace. Either install it from there, or search for its identifier FeaturesUse one of the following VS Code commands to populate its Implementations feature with information about the current class, icluding inherited properties, methods, parameters and other class members.
These commands are available on the context menu of a class you have opened in an editor. They can also be run from Command Palette or via keyboard shortcuts. A quirk of VS Code means the extension is not notified of your request if the cursor is on a blank line of the class definition. The workaround is to move the cursor up or down to a line containing text.
The other commands uses the peeked editor inline presentation. In both presentations the first level of the navigation tree has a node for the class itself plus one for each superclass from which anything is inherited. In this context the superclasses are the immediate superclasses of your class plus their own superclasses recursively. Under the class nodes are the members being contributed to your class. Naturally the entries under your class correspond to all of the class members defined in it, with the exception of those tagged Abstract or Internal. Under each superclass node you only see non-abstract, non-internal members defined or overridden in that class and inherited by your class. Members overridden between this superclass and your class, or in your class, will not be listed. Inheritance information is obtained from the server, so if you have made changes locally but not yet saved and compiled them they won't appear in the tree. VS Code does not refresh these views automatically. To update the peeked editor close it an reopen it. In the other view use the Refresh button on its header. Known Issues
Release NotesSee the CHANGELOG for changes in each release. |