Sitelet https://github.com/tmuxinator/tmuxinator/issues/962
Skip to content

jsonschema doesnt support named windows or panes #962

Description

@iznoel

Is your feature request related to a problem? Please describe.
configuration example in READNE.md does not conform with the schema https://json.schemastore.org/tmuxinator.json

windows and panes can be specified as

  • [supported] a command
  • [supported] a set of attributes
  • [unsupported] map where the key is the values store the attributes.

Describe the solution you'd like
it is possible in jsonschema to this variation using an object with additionalProperties, This is something the current schema does not use at all.

Describe alternatives you've considered

  • storing a modified schema locally?
  • adding an actual 'name/window_name/pane_name' attribute to the windows and panes ? would make the config more explicit and easier to read

Additional context
attaching a schema ive edited manually (just written it, unsafe / untested / but seems to work with yaml-language-server)
tmuxinator.json

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions