Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>InterSystems ObjectScript Class ViewNew to Visual Studio Code? Get it now.

InterSystems ObjectScript Class View

George James Software

georgejames.com
|
190 installs
| (0) | Free
View and navigate all class members, including inherited ones
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

InterSystems ObjectScript Class View

This extension boosts the InterSystems ObjectScript Extension Pack by adding a powerful new way to navigate your class definitions.

Installation

The extension is published on Marketplace. Either install it from there, or search for its identifier georgejames.objectscript-class-view in the Extensions view of VS Code.

Features

Use 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.

  • References: Find All Implementations
  • Go to Implementations
  • Peek Implementations

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.

Find All Implementations displays its results in the References view alongside your code.

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

  1. The InterSystems Language Server is used to locate contributed members in superclasses. If the superclass definition triggers warnings or errors these appear in VS Code's Problems panel and will remain there until you open the class (for example by clicking on one of its messages) and then close it.

Release Notes

See the CHANGELOG for changes in each release.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft