Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YAML files not formatted when created #35

Open
niyaznigmatullin opened this issue Aug 28, 2022 · 1 comment
Open

YAML files not formatted when created #35

niyaznigmatullin opened this issue Aug 28, 2022 · 1 comment

Comments

@niyaznigmatullin
Copy link

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.

@igalimov
Copy link
Collaborator

igalimov commented Sep 5, 2022

Hi @niyaznigmatullin, I've filed a new feature request in our tracker for this: https://youtrack.jetbrains.com/issue/EDU-5262/.
I would also advise adding this issue to your watch list to be 100% sure that you won't miss any updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants