You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 743 B

12345678910111213141516171819202122232425262728293031
  1. # Core library for dora
  2. ## Generating dora schema
  3. ```bash
  4. cargo run -p dora-core generate_schemas
  5. ```
  6. ## VSCode YAML Dataflow Support
  7. We can pass the JSON Schema to VSCode [`redhat.vscode-yaml`](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml) to enables features such as:
  8. - Type validation
  9. - Suggestions
  10. - Documentation
  11. ### Getting started
  12. 1. Install [`redhat.vscode-yaml`](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml)
  13. 2. Open User Settings(JSON) in VSCode within `ctrl`+ `shift` + `p` search bar.
  14. 3. Add the following:
  15. ```json
  16. "yaml.schemas": {
  17. "https://raw.githubusercontent.com/dora-rs/dora/main/libraries/core/dora-schema.json": "/*"
  18. },
  19. ```
  20. And you should be set! 🔥