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

I hope you can add support for formatting “spring-boot-properties-yaml” #346

Closed
Wonder2018 opened this issue Aug 19, 2020 · 2 comments
Closed

Comments

@Wonder2018
Copy link

As the title says. The Spring Boot configuration file application.yml is recognized as a spring-boot-properties-yaml file in vscode. If I want to use redhat-yaml to format it, I need to manually change the recognized file type. But in this way, I cannot use spring's spring-configuration-metadata.json file to verify property settings and get code hints. So I hope this extension can add support for formatting the spring-boot-properties-yaml file. The syntax of application.yml is the same as that of ordinary yml files, and the formatting program can be shared.

Thanks

@JPinkney
Copy link
Contributor

I'm not sure if we can, I've never used that extension but because they are essentially forcing application.yml to use their filetype I don't think there's a way to allow our formatter to work for that file.

I could be wrong, maybe @evidolob or @joshuawilson knows if thats possible

@lukaszmoroz
Copy link

See microsoft/azure-pipelines-vscode#209 (comment), this however does not work with this extension for some reason.

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

No branches or pull requests

3 participants