Skip to content

rofl.yaml could specify a schema to have autocomplete #496

@lukaw3d

Description

@lukaw3d

Depending on how often users will manually edit rofl.yaml, it may be worth adding a yaml schema.

But yaml schema support in editors is not as common as json schema support

# yaml-language-server: $schema=https://raw.githubusercontent.com/oasisprotocol/cli/...schema.json

This works like "$schema": in json:

  • editor marks typos and type errors
  • editor autocompletes field names

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationroflROFL related CLI issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions