Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>LegendNew to Visual Studio Code? Get it now.
Legend

Legend

FINOS

|
187 installs
| (1) | Free
Legend Language Support (parse, compile, execute)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

The Legend VSCode extension provides an easy and quick way to develop using Legend data modeling language.

An overview of the language can be found here.

This extension leverages the Legend LSP server.

For more things Legend, visit our GitHub here.

Available Features

  • Parse and Compile
  • Code navigation (goTo, find usage)
  • Execute functions (through CodeLens commands)
  • DataCube vizualization for tabular results
  • Testing integration
  • Legend Concept Tree
  • Snippets for common element types
  • Legend REPL Terminal
  • Diagram vizualization
  • QueryBuilder visualization for editing complex queries

Hello World

Hello World

To start using the extension, create a hello.pure file in your workspace, and copy/paste the content of one of our showcases

  • Relational Database Showcase (using in-memory H2) - https://raw.githubusercontent.com/finos/legend-studio/master/packages/legend-server-showcase-deployment/data/showcases/Stores/Relational%20Database/Mapping/code.pure
  • Model to Model transformation (consume JSON input, transform to new model) - https://raw.githubusercontent.com/finos/legend-studio/master/packages/legend-server-showcase-deployment/data/showcases/Stores/Model%20Store/Mapping/code.pure

Contributing

Please read our contributing guide.

License

Copyright 2025 Goldman Sachs

Distributed under the Apache License, Version 2.0.

SPDX-License-Identifier: Apache-2.0

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft