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

"Include Document Start" option is broken #10

Open
CH-DrewWatson opened this issue Apr 4, 2023 · 2 comments
Open

"Include Document Start" option is broken #10

CH-DrewWatson opened this issue Apr 4, 2023 · 2 comments

Comments

@CH-DrewWatson
Copy link

I'm running current version in VSCode (1.1.0).

Both checked and unchecked, the "Include Document Start" option is removing the pre-existing "---" from the beginning of all my yaml files.

I'd like for this extension to add the "---" when it's missing, but more importantly, I don't want it to be removed when it's already there.

Otherwise, this extension is helpful for standardizing all my manifests, thank you!

@CH-DrewWatson
Copy link
Author

CH-DrewWatson commented Apr 4, 2023

While what I mentioned above is true, it appears that from settings GUI, changing the setting does not create the entry in settings.json. This is most likely related to Issue #7, as writing out the setting ("kubernetes-yaml-formatter.includeDocumentStart": true) as mentioned by @karmicdude seems to have fixed the behavior.

@etutuit
Copy link

etutuit commented May 14, 2023

Changing setting in GUI creates entry in settings.json, but it creates "includeDocumentStart": true instead of "kubernetes-yaml-formatter.includeDocumentStart": true.

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

2 participants