longkai / kubernetes-yaml-formatter

Kubernetes Style YAML Formatter for Visual Studio Code
MIT License
41 stars 3 forks source link

Incorrect settings declaration #7

Open karmicdude opened 1 year ago

karmicdude commented 1 year ago

vscode 1.74.0-insider Kubernetes YAML Formatter v1.1.0

The registered settings show the settings without the prefix kubernetes-yaml-formatter..

In vscode Settings extension names Use Compact Sequence Indent (?) with two check-boxed settings Compact Sequence Indent and Include Document Start.

When the checkbox is enabled, json settings file gets settings without prefix kubernetes-yaml-formatter., just i.e. "includeDocumentStart": true, and vscode thinks it's okay. But the settings don't work. But if i set manually "kubernetes-yaml-formatter.includeDocumentStart": true, settings works when I format file, but vscode thinks it's unknown and unused settings, dimming them.

longkai commented 1 month ago

Hi!

Sorry for the delay. I have fixed it in the v2 branch and it should release soon.

You have more controls for including directives in the output format.