Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>TypeMF Instance EditorNew to Visual Studio Code? Get it now.
TypeMF Instance Editor

TypeMF Instance Editor

Preview

TypeMF

| (0) | Free
A reflective editor for TypeMF model instances (.xmi, .json, .ecore), for generated as well as dynamically loaded metamodels.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TypeMF Instance Editor

A tree-based editor for EMF model instances in VS Code. It opens .xmi, .json and .ecore files and edits them reflectively, so it works for generated metamodels as well as for metamodels that are only available as a .ecore file.

This extension is a preview. File formats and behavior may still change before 1.0.

Features

  • Tree and properties view. The left pane shows the containment tree, the right pane the attributes and references of the selected object.
  • Editing. Attributes are edited with a text field, number field, checkbox or enum drop-down, depending on their type. Containment features get + Add with a choice of the concrete subclasses; references get + Link for objects in the same file and Link external… for objects in other files.
  • Follow reference. Jumps to the referenced object in the tree.
  • New model instance. The command TypeMF: New Model Instance creates a new file with a root object of a class you pick, either from a registered metamodel or from a .ecore file. The new file can be saved as XMI, JSON or Ecore.
  • Missing metamodels. When a file uses a metamodel that isn't registered, the editor asks you to select the .ecore file(s) for it.

Opening files

.ecore files open in this editor by default. For .xmi and .json files, use Open With… → TypeMF Instance Editor, so that ordinary JSON files keep opening in the text editor.

Registering metamodels

The editor finds metamodels in the shared registry of the TypeMF Runtime extension, which is installed with it. A metamodel gets there in one of two ways:

  • an extension provides a generated model package (see @typemf/vscode-runtime on npm), or

  • the typemf.ecoreMappings setting maps an nsURI to a .ecore file in your workspace:

    "typemf.ecoreMappings": [
      { "nsURI": "https://example.org/library", "ecoreFile": "model/library.ecore" }
    ]
    

Settings

Setting Default Description
typemf.showDerivedFeatures false Show derived (computed) features, read-only.

Limitations

  • No undo/redo. Revert File discards all unsaved changes.
  • XMI files must have exactly one root object.

License

Apache-2.0. Source: github.com/typemf/typemf.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft