Validates that Cicero templates conform to the Accord Project Template Specification:
- Validates the model for the template ('.cto' files), downloading referenced external models as required
- Validates the logic of the template ('.ergo' files)
- Validates that the template archive can be built
- Validates that the 'text/sample.md' file for the template can be parsed using the grammar ('text/grammar.tem.md' file)
- Syntax highlighting for all files
If you want to use this plugin:
- Download and install VSCode from https://code.visualstudio.com/download
- Remove any existing versions of the Ergo extension and the Hyperledger Composer extension
- From the extensions view in VSCode, search for "Accord Project", click the
Install
button to install it
The extension is available from the Visual Studio Marketplace at https://marketplace.visualstudio.com/items?itemName=accordproject.cicero-vscode-extension
Generate the installable VSIX file:
git clone https://github.com/accordproject/cicero-vscode-extension.git
cd cicero-vscode-extension/server
npm install
npm run compile:server
cd ../client
npm install
npm run package:vsix
- Launch VSCode
- View > Extensions
- Press the ... and select "Install from VSIX"
- Browse to the VSIX file
- Install and restart VSCode
- Open a .cto or .ergo file
Developers no longer need a manual build, once you have created a pull request from your private Github repository. The build will be automatically performed by Travis. A successful build will create an installable VSIX file on the build machine. The public release version number is defined in the Client package.json file.
Below are steps for publishing a release.
- Go to https://github.com/accordproject/cicero-vscode-extension
- Click Releases tab
- Click Draft a new release on the right
- Type a Tag version in the Tag version field. e.g. v0.5.7.1
- Type a Release title in the Release title field e.g v0.5.7.1
- Provide a short description of this release under the Write tab
- Uncheck the box for This is a pre-release at the end of this page
- Click Publish release button to publish the VSIX file to the VSCode Marketplace
- Go to the VSCode Marketplace: https://marketplace.visualstudio.com/
- Type Accord Project in the search field and hit return key or search button
- This will bring you to https://marketplace.visualstudio.com/search?term=Accord%20Project&target=VSCode&category=All%20categories&sortBy=Relevance
- Open Visual Studio Code in your desktop
- Open the Extensions by View-->Extensions or Ctrl(cmd)+Shift+x
- Search for Accord Project
- The new published Accord Project plugin is showing on the list
- Click Install button to install it
- Update button will be shown if you have already installed the same plugin before.
Thanks to our friends at Hyperledger Composer for inspiring us with their existing plugin, https://github.com/hyperledger/composer-vscode-plugin/
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.
- Accord Project
- Accord Project News
- Accord Project Blog
- Accord Project Slack
- Accord Project Technical Documentation
- Accord Project GitHub
- Getting Started with Accord Project
- Concepts and High-level Architecture
- How to use the Cicero Templating System
- How to Author Accord Project Templates
- Ergo Language Guide
Projects | Package name | Version | Description | |
---|---|---|---|---|
Cicero | cicero-core | Templates Core | ||
cicero-cli | Cicero CLI | |||
cicero-engine | Node.js VM based implementation of Accord Protocol Template Specification execution | |||
cicero-server | Wraps the Cicero Engine and exposes it as a RESTful service | |||
cicero-test | Testing support for Cicero based on cucumber | |||
cicero-tools | Cicero Tools | |||
generator-cicero-template | Code generator for a Cicero Template | |||
Concerto | concerto-core | Core Implementation for the Concerto Modeling Language | ||
concerto-tools | Tools for the Concerto Modeling Language | |||
concerto-cli | command-line interface for Concerto | |||
Ergo | ergo-cli | Ergo CLI | ||
ergo-compiler | Ergo compiler | |||
ergo-test | Ergo test | |||
ergo-engine | Ergo engine | |||
Markdown | markdown-common | A framework for transforming markdown | ||
markdown-slate | Transform markdown to/from CommonMark DOM | |||
markdown-cli | CLI for markdown transformations. | |||
markdown-cicero | CiceroDOM: Markdown extensions for contracts, clauses, variables etc. | |||
markdown-html | Transform CiceroDOM to HTML |
Projects | Package name | Version | Description |
---|---|---|---|
Markdown Editor | markdown-editor | WYSIWYG rich text web editor that persists text as markdown. Based on Slate.js | |
Cicero UI | cicero-ui | WYSIWYG contract editor, template library browser, error panel component | |
Concerto UI | concerto-ui | Dynamic web forms generated from Concerto models |
Projects | Cicero ver. | Description |
---|---|---|
Template Studio v1 | 0.13.4 | Web UI for creating, editing and testing Accord Project templates |
Template Studio v2 | 0.13.4 | Web UI for creating, editing and testing Accord Project templates |
VSCode Extension | 0.13.4 | VS Code extension for editing Cicero templates and Ergo logic |
Projects | Description |
---|---|
Models | Accord Project Model Library |
Template Library | Accord Project Template Library |
Project | Repo |
---|---|
Documentation | techdocs |
The Accord Project technology is being developed as open source. All the software packages are being actively maintained on GitHub and we encourage organizations and individuals to contribute requirements, documentation, issues, new templates, and code.
Find out what’s coming on our blog.
Join the Accord Project Technology Working Group Slack channel to get involved!
For code contributions, read our CONTRIBUTING guide and information for DEVELOPERS.
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.