Skip to content

YAML files not formatted when created #35

@niyaznigmatullin

Description

@niyaznigmatullin

The plugin seems to create YAML files with no indentation for list items. For instance on adding a task, task-info.yaml looks like this:

type: edu
files:
- name: src/Task.kt
  visible: true
- name: test/Tests.kt
  visible: false

After IDEA's Reformat Code, it becomes:

type: edu
files:
  - name: src/Task.kt
    visible: true
  - name: test/Tests.kt
    visible: false

Probably, would be better to create files according to what IDEA thinks is pretty formatted YAML file, to have consistent formats, because users usually call Reformat Code when manually editing the files.

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