/vscode-web-extension

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Accord Project Concerto Extension for VS Code

Join the Accord Project Discord

The Accord Project Concerto extension helps developers to create, test and debug Accord Project Concerto files.

For a step-by-step guide on getting started with the extension's features, access our VS Code Extension documentation. For more comprehensive Concerto documentation, follow this link.

Accord Project Extension Homepage

Contributing

We love Open Source contributions; whether they be fixes to the documentation, or bug reports, feature requests, or code contrbutions to the extension itself.

Financial contributions are also very welcome and can be made to Accord Project, via the Linux Foundation Crowdfunding portal.

Installation

Please visit the Visual Studio Code Marketplace for installation and more details.

Usage on the Web

This is a Web Extension and can be used by VS Code when running within your web-browser. For example, by visiting the URL: https://github.com/accordproject/models/blob/main/src/finance/loan%400.3.0.cto

Note that other VS Code web hosting options are available.

Features

  • Create data models using the Concerto modeling language
  • Compilation of Concerto files to other languages
  • Syntax highlighting for all files
  • Compilation and problem markers

Commands

  • Compile your model.cto file to a target language

Code Gen GIF

  • Work offline by downloading Concerto model dependencies (context-click on a *.cto file)

Concerto Snippets

The extention adds code snippets for the following elements of the Concerto language.

Element Prefix
Asset asset
Participant participant
Transaction transaction
Concept concept
Enum enum
Scalar scalar
Event event
Namespace namespace
Import import
String string
Double double
Integer int
Long long
DateTime date
Boolean bool

Contact Us

For any questions please join the Accord Project Discord community and post questions to the #technology-concerto channel.


Accord Project is an open source, non-profit, initiative working to transform contract management and contract automation by digitizing contracts. Accord Project operates under the umbrella of the Linux Foundation. The technical charter for the Accord Project can be found here.

README Badge

Using Accord Project? Add a README badge to let everyone know: accord project

[![accord project](https://img.shields.io/badge/powered%20by-accord%20project-19C6C8.svg)](https://www.accordproject.org/)

License

Accord Project source code files are made available under the Apache License, Version 2.0. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0).

Copyright 2018-2019 Clause, Inc. All trademarks are the property of their respective owners. See LF Projects Trademark Policy.