Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

Let STS transform from .yml to .properties #331

Closed
manueljordan opened this issue Dec 1, 2018 · 4 comments
Closed

Let STS transform from .yml to .properties #331

manueljordan opened this issue Dec 1, 2018 · 4 comments

Comments

@manueljordan
Copy link

Hello STS team.

For:

Spring Tool Suite 4 

Version: 4.0.0.RELEASE
Build Id: 201809220817

It is able to convert from .properties to .yml

screen shot 2018-12-01 at 5 06 57 pm

But once done this, how do the inverse?.
it about convert from .yml to .properties.
Currently is not possible

screen shot 2018-12-01 at 5 21 07 pm

Not sure if I am missing something.

@martinlippert
Copy link
Contributor

We implementier the refactoring for .application -> .yml only, not the other way around, because our assumption is that people are more likely moving from property files to YAML files and not the other way around. Since that is "just" our assumption, we might be totally wrong about that... :-)

Do you see a real need to have the other way included in the tooling? Would you use that in real-world scenarios?

@manueljordan
Copy link
Author

Hi Martin.

I know it is not critical, but perhaps the unique scenario that comes first to my mind is that in some demo about Spring Boot with STS without Git, the expositor is explaining about these two approaches, and thus well, he is not able to return to .properties. In someway seems a missing feature for STS itself.

Again, just was a simple request.

BTW: I have seen in twitter many developers that do not like Yaml. So once they had completed the experience with yaml, they are not able to return to properties. Of course, through Git it should be easy to return in time.

@Abdullah8006
Copy link

In our case we are using .yml propety file but we also at different times need all the keys from the .yml. It would be great if we can have something natively build in the IDE. There are however options online for that.

@martinlippert
Copy link
Contributor

Development of these kind of features happens a part of the Spring Tools 4 project, so I will close this here and continue the discussion on spring-projects/sts4#739.

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

No branches or pull requests

3 participants