Replies: 1 comment
-
|
If you rely on properties file validation and auto-complete, this may not help... I use YAML for my main config files, which are 'spring-boot-properties-yaml' file types controlled by the Spring extensions, so for the few That makes them the 'properties' file type again (no longer 'java-properties', validation and auto-complete are gone). So, VS Code will now try to format it as a regular properties file. Unfortunately, there is no default formatter, so you will have to install one from the Marketplace! After installing one, it should just work. If not or if you install 2+ and they are competing, you can set the default formatter with: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have the redhat vscode-java installed. When formatting a java properties file vscode complaints there is no formatter. It proposes to search one but the only plugin that is found is the vscode-java plugin.
Is this normal? Did I forget to configure something?
Beta Was this translation helpful? Give feedback.
All reactions