-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
Allow folding of entire YAML structures i.e. documents (---
)
#180848
Comments
Please file the request against the YAML extension that you use. |
I do not use a YAML extension. I suppose you're saying that VS Code wouldn't not like to extend folding beyond indentations and that an extension should implement folding on |
That's correct. Is |
|
Your files are FrontMatter files, from which markdown/yaml is generated. FrontMatter is a preproccessor. |
When a file is set to use the YAML language, YAML can be folded. What I find to be missing however is the ability to fold from a document start (
---
) up to the next start or end (---
/...
, if present).I don't have much experience of using pure YAML, but in the above scenario, I'd like to be able to fold lines 1 to 3.
Hopefully pure YAML users would find this practical. I on the other hand would find this to be particularly useful within Markdown (see FR #180849).
Thanks.
VS Code 1.77.3
The text was updated successfully, but these errors were encountered: