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

Intention: converting config structure #7

Open
ghik opened this issue Feb 28, 2019 · 0 comments
Open

Intention: converting config structure #7

ghik opened this issue Feb 28, 2019 · 0 comments

Comments

@ghik
Copy link
Collaborator

ghik commented Feb 28, 2019

Originally reported in https://youtrack.jetbrains.com/issue/SCL-10571

It's good to have a refactoring that will convert flat config structure like

a.b.c = 1
a.b.d = "string"
a.x = true

Into tree:

a {
  b {
    c = 1
    d = "string"
  }
  x = true
}

and vise-versa, but it should leave root key flat:

a.b.c.d=1
a.b.c.e=2

should be converted to:

a.b.c {
  d = 1
  e = 2
}
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

1 participant