Skip to content

reproto/reproto-vscode

Repository files navigation

A better way to define schemas for your JSON.

Introduction

If you want to take the system for a spin, please go to https://reproto.github.io.

Reproto is:

  • A compiler capable of generating code for various languages.
    try it outdocumentation
  • A custom interface description language that permits describing the schema of JSON and services in a concise, easy to understand way.
    documentation
  • Early and extensive soundness checking, with excellent error handling. We catch schema issues before you know that you have them.
    ui tests
  • A derive command, capable of deriving schemas directly from JSON.
    try it outdocumentation.
  • A semantic version checker which verifies that modifications to schemas do not violate semantic versioning.
    documentation
  • A build system with a package manager using build manifests, giving you all the control you need to integrate reproto into your project.
    documentation
  • A rich, markdown-based documentation generator.

These things combined support an ecosystem where schemas can be maintained and shared across many teams.

Note: This project is in an early stage. Things will change a lot. Please take it for a spin, but avoid building large repositories of schemas for now.

Getting Started

  • See the documentation for an overview of how the reproto language and its build manifest works.
  • See examples for some example specifications and projects.
  • See the integration tests for even more examples on how protocol specifications can be used.
  • See release notes for past and coming changes.

How to use

This extension needs to find a usable reproto command, this can be done in one of the following ways:

  • reproto is in your PATH.
  • REPROTO_HOME is defined, and contains bin/reproto.
  • The reproto.executable user options points to a working executable.

Note: you can reload the extension by reloading the vscode window.

License

Copyright John-John Tedro Licensed under the MIT license (see LICENSE.txt)

About

Language support for reproto in visual studio code

Resources

License

Stars

Watchers

Forks

Packages

No packages published